#9D85EB#9D85EB

#9D85EB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.2% C 0.148 H 292.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9D85EB
RGBrgb(157, 133, 235)
HSLhsl(254, 72%, 72%)
HSVhsv(254, 43%, 92%)
CMYKcmyk(33.2%, 43.4%, 0%, 7.8%)
CIE-LABlab(61.60, 31.52, -48.46)
CIE-LCHlch(61.60, 57.80, 303.04°)
OKLaboklab(68.16% 0.0575 -0.1362)
OKLCHoklch(68.16% 0.148 292.9)
XYZxyz(37.2837, 29.9406, 82.3959)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D85EB #D3EB85
analogous
#85A0EB #9D85EB #D085EB
triadic
#9D85EB #EB9D85 #85EB9D
tetradic
#9D85EB #EB85A0 #D3EB85 #85EBD0
square
#9D85EB #EB85A0 #D3EB85 #85EBD0
split-complementary
#9D85EB #EBD085 #A0EB85
monochromatic
#4C23D3 #7350E2 #9D85EB #C7BAF4 #EAE5FB

Accessibility & contrast

On white

3.01
#9D85EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#9D85EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D85EB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D85EB#FFFFFF#000000##000000
##9D85EB1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#6793E9
Tritanopia (blue-blind)
#8B98AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d85eb;
/* rgb */ color: rgb(157, 133, 235);
/* oklch */ color: oklch(68.2% 0.148 292.9);
Tailwind
colors: {
  custom: {
    50: '#bda8f2',
    500: '#9d85eb',
    950: '#000000',
  },
}
SCSS
$custom: #9d85eb;
$custom-light: #bda8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d85eb",
  "rgb": {
    "r": 157,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 254.118,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68159,
    "c": 0.14782,
    "h": 292.9
  },
  "luminance": 0.29941
}

Semantic roles & 50–950 ramp

primary
#9D85EB
secondary
#ECF2D9
accent
#D412A6
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9D85EB

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

Preview Lab → · Contrast checker → · Palette generator →

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