#7B3ED1#7B3ED1

#7B3ED1 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.213 H 297.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7B3ED1
RGBrgb(123, 62, 209)
HSLhsl(265, 62%, 53%)
HSVhsv(265, 70%, 82%)
CMYKcmyk(41.1%, 70.3%, 0%, 18%)
CIE-LABlab(41.63, 55.78, -66.01)
CIE-LCHlch(41.63, 86.42, 310.20°)
OKLaboklab(52.15% 0.0979 -0.1886)
OKLCHoklch(52.15% 0.213 297.4)
XYZxyz(21.3966, 12.2593, 61.5482)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3ED1 #94D13E
analogous
#3E4AD1 #7B3ED1 #C43ED1
triadic
#7B3ED1 #D17B3E #3ED17B
tetradic
#7B3ED1 #D13E4A #94D13E #3ED1C4
square
#7B3ED1 #D13E4A #94D13E #3ED1C4
split-complementary
#7B3ED1 #D1C43E #4AD13E
monochromatic
#431D78 #5E28A9 #7B3ED1 #9D6FDD #BFA1E9

Accessibility & contrast

On white

6.08
#7B3ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7B3ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3ED1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3ED1#FFFFFF#000000##FFFFFF
##7B3ED11.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#656283
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b3ed1;
/* rgb */ color: rgb(123, 62, 209);
/* oklch */ color: oklch(52.2% 0.213 297.4);
Tailwind
colors: {
  custom: {
    50: '#a878e0',
    500: '#7b3ed1',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ed1;
$custom-light: #a878e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ed1",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 264.898,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52151,
    "c": 0.21253,
    "h": 297.4
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#7B3ED1
secondary
#BBD596
accent
#E543A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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