#9D6EFD#9D6EFD

#9D6EFD is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.4% C 0.204 H 295.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9D6EFD
RGBrgb(157, 110, 253)
HSLhsl(260, 97%, 71%)
HSVhsv(260, 57%, 99%)
CMYKcmyk(37.9%, 56.5%, 0%, 0.8%)
CIE-LABlab(57.47, 49.06, -65.00)
CIE-LCHlch(57.47, 81.44, 307.04°)
OKLaboklab(65.4% 0.0874 -0.1847)
OKLCHoklch(65.4% 0.204 295.3)
XYZxyz(37.2056, 25.4111, 95.8541)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6EFD #CEFD6E
analogous
#6E86FD #9D6EFD #E46EFD
triadic
#9D6EFD #FD9D6E #6EFD9D
tetradic
#9D6EFD #FD6E86 #CEFD6E #6EFDE4
square
#9D6EFD #FD6E86 #CEFD6E #6EFDE4
split-complementary
#9D6EFD #FDE46E #86FD6E
monochromatic
#5003ED #7432FC #9D6EFD #C6AAFE #EBE1FF

Accessibility & contrast

On white

3.45
#9D6EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9D6EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6EFD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6EFD#FFFFFF#000000##000000
##9D6EFD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#208BFF
Deuteranopia (green-blind)
#3488FA
Tritanopia (blue-blind)
#858CAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d6efd;
/* rgb */ color: rgb(157, 110, 253);
/* oklch */ color: oklch(65.4% 0.204 295.3);
Tailwind
colors: {
  custom: {
    50: '#bf99ff',
    500: '#9d6efd',
    950: '#000000',
  },
}
SCSS
$custom: #9d6efd;
$custom-light: #bf99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6efd",
  "rgb": {
    "r": 157,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 259.72,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65404,
    "c": 0.20433,
    "h": 295.3
  },
  "luminance": 0.25412
}

Semantic roles & 50–950 ramp

primary
#9D6EFD
secondary
#EAF6D1
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D6EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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