#7B3DD6#7B3DD6

#7B3DD6 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.219 H 296.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7B3DD6
RGBrgb(123, 61, 214)
HSLhsl(264, 65%, 54%)
HSVhsv(264, 71%, 84%)
CMYKcmyk(42.5%, 71.5%, 0%, 16.1%)
CIE-LABlab(41.85, 57.51, -68.52)
CIE-LCHlch(41.85, 89.46, 310.01°)
OKLaboklab(52.43% 0.0979 -0.196)
OKLCHoklch(52.43% 0.219 296.5)
XYZxyz(21.9715, 12.4030, 64.8417)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DD6 #98D63D
analogous
#3D4CD6 #7B3DD6 #C83DD6
triadic
#7B3DD6 #D67B3D #3DD67B
tetradic
#7B3DD6 #D63D4C #98D63D #3DD6C8
square
#7B3DD6 #D63D4C #98D63D #3DD6C8
split-complementary
#7B3DD6 #D6C83D #4CD63D
monochromatic
#431B7E #5E25B1 #7B3DD6 #9D70E1 #C0A2EB

Accessibility & contrast

On white

6.03
#7B3DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7B3DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DD6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DD6#FFFFFF#000000##FFFFFF
##7B3DD61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#636486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b3dd6;
/* rgb */ color: rgb(123, 61, 214);
/* oklch */ color: oklch(52.4% 0.219 296.5);
Tailwind
colors: {
  custom: {
    50: '#a978e4',
    500: '#7b3dd6',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dd6;
$custom-light: #a978e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dd6",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 264.314,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.2191,
    "h": 296.5
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#7B3DD6
secondary
#BED897
accent
#E840A4
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3DD6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7B3DD6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva