#7B3EC9#7B3EC9

#7B3EC9 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.204 H 299.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7B3EC9
RGBrgb(123, 62, 201)
HSLhsl(266, 56%, 52%)
HSVhsv(266, 69%, 79%)
CMYKcmyk(38.8%, 69.2%, 0%, 21.2%)
CIE-LABlab(41.01, 53.77, -62.38)
CIE-LCHlch(41.01, 82.36, 310.76°)
OKLaboklab(51.52% 0.0993 -0.178)
OKLCHoklch(51.52% 0.204 299.2)
XYZxyz(20.4310, 11.8730, 56.4623)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EC9 #8CC93E
analogous
#3E47C9 #7B3EC9 #C13EC9
triadic
#7B3EC9 #C97B3E #3EC97B
tetradic
#7B3EC9 #C93E47 #8CC93E #3EC9C1
square
#7B3EC9 #C93E47 #8CC93E #3EC9C1
split-complementary
#7B3EC9 #C9C13E #47C93E
monochromatic
#411F6E #5E2C9E #7B3EC9 #9C6ED6 #BC9EE4

Accessibility & contrast

On white

6.22
#7B3EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7B3EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EC9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EC9#FFFFFF#000000##FFFFFF
##7B3EC91.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#695F7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3ec9;
/* rgb */ color: rgb(123, 62, 201);
/* oklch */ color: oklch(51.5% 0.204 299.2);
Tailwind
colors: {
  custom: {
    50: '#a778da',
    500: '#7b3ec9',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ec9;
$custom-light: #a778da;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ec9",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 266.331,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.20378,
    "h": 299.2
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#7B3EC9
secondary
#B5D093
accent
#E0489D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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