#9D61EB#9D61EB

#9D61EB is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.3% C 0.201 H 300.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9D61EB
RGBrgb(157, 97, 235)
HSLhsl(266, 78%, 65%)
HSVhsv(266, 59%, 92%)
CMYKcmyk(33.2%, 58.7%, 0%, 7.8%)
CIE-LABlab(53.72, 51.49, -61.02)
CIE-LCHlch(53.72, 79.85, 310.16°)
OKLaboklab(62.3% 0.1029 -0.173)
OKLCHoklch(62.3% 0.201 300.7)
XYZxyz(33.1711, 21.7155, 81.0251)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D61EB #AFEB61
analogous
#616AEB #9D61EB #E261EB
triadic
#9D61EB #EB9D61 #61EB9D
tetradic
#9D61EB #EB616A #AFEB61 #61EBE2
square
#9D61EB #EB616A #AFEB61 #61EBE2
split-complementary
#9D61EB #EBE261 #6AEB61
monochromatic
#5E18BA #7B2BE4 #9D61EB #BF97F2 #E0CEF9

Accessibility & contrast

On white

3.93
#9D61EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9D61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D61EB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D61EB#FFFFFF#000000##000000
##9D61EB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1480EF
Deuteranopia (green-blind)
#3680E8
Tritanopia (blue-blind)
#8D7E9D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d61eb;
/* rgb */ color: rgb(157, 97, 235);
/* oklch */ color: oklch(62.3% 0.201 300.7);
Tailwind
colors: {
  custom: {
    50: '#be90f2',
    500: '#9d61eb',
    950: '#000000',
  },
}
SCSS
$custom: #9d61eb;
$custom-light: #be90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d61eb",
  "rgb": {
    "r": 157,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 266.087,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62301,
    "c": 0.20125,
    "h": 300.7
  },
  "luminance": 0.21716
}

Semantic roles & 50–950 ramp

primary
#9D61EB
secondary
#D7EBBD
accent
#DA0C80
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D61EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9D61EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva