#9D6EF5#9D6EF5

#9D6EF5 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.9% C 0.195 H 296.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9D6EF5
RGBrgb(157, 110, 245)
HSLhsl(261, 87%, 70%)
HSVhsv(261, 55%, 96%)
CMYKcmyk(35.9%, 55.1%, 0%, 3.9%)
CIE-LABlab(56.99, 47.01, -61.35)
CIE-LCHlch(56.99, 77.29, 307.46°)
OKLaboklab(64.89% 0.0874 -0.174)
OKLCHoklch(64.89% 0.195 296.7)
XYZxyz(35.9578, 24.9120, 89.2825)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6EF5 #C6F56E
analogous
#6E83F5 #9D6EF5 #E16EF5
triadic
#9D6EF5 #F59D6E #6EF59D
tetradic
#9D6EF5 #F56E83 #C6F56E #6EF5E1
square
#9D6EF5 #F56E83 #C6F56E #6EF5E1
split-complementary
#9D6EF5 #F5E16E #83F56E
monochromatic
#560FDA #7635F1 #9D6EF5 #C4A7F9 #EAE1FD

Accessibility & contrast

On white

3.51
#9D6EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#9D6EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6EF5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6EF5#FFFFFF#000000##000000
##9D6EF51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F89FA
Deuteranopia (green-blind)
#3F87F2
Tritanopia (blue-blind)
#888AA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d6ef5;
/* rgb */ color: rgb(157, 110, 245);
/* oklch */ color: oklch(64.9% 0.195 296.7);
Tailwind
colors: {
  custom: {
    50: '#be99f9',
    500: '#9d6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #9d6ef5;
$custom-light: #be99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6ef5",
  "rgb": {
    "r": 157,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 260.889,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64892,
    "c": 0.19466,
    "h": 296.7
  },
  "luminance": 0.24913
}

Semantic roles & 50–950 ramp

primary
#9D6EF5
secondary
#E5F3CC
accent
#E40295
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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