#9B85EC#9B85EC

#9B85EC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.0% C 0.149 H 291.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9B85EC
RGBrgb(155, 133, 236)
HSLhsl(253, 73%, 72%)
HSVhsv(253, 44%, 93%)
CMYKcmyk(34.3%, 43.6%, 0%, 7.5%)
CIE-LABlab(61.48, 31.25, -49.22)
CIE-LCHlch(61.48, 58.30, 302.42°)
OKLaboklab(68.04% 0.0553 -0.1384)
OKLCHoklch(68.04% 0.149 291.8)
XYZxyz(37.0415, 29.7989, 83.1408)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B85EC #D6EC85
analogous
#85A2EC #9B85EC #CF85EC
triadic
#9B85EC #EC9B85 #85EC9B
tetradic
#9B85EC #EC85A2 #D6EC85 #85ECCF
square
#9B85EC #EC85A2 #D6EC85 #85ECCF
split-complementary
#9B85EC #ECCF85 #A2EC85
monochromatic
#4821D5 #7050E4 #9B85EC #C6BAF4 #E9E5FB

Accessibility & contrast

On white

3.02
#9B85EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#9B85EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B85EC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B85EC#FFFFFF#000000##000000
##9B85EC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#6592EA
Tritanopia (blue-blind)
#8799AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9b85ec;
/* rgb */ color: rgb(155, 133, 236);
/* oklch */ color: oklch(68.0% 0.149 291.8);
Tailwind
colors: {
  custom: {
    50: '#bba8f2',
    500: '#9b85ec',
    950: '#000000',
  },
}
SCSS
$custom: #9b85ec;
$custom-light: #bba8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b85ec",
  "rgb": {
    "r": 155,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 252.816,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68041,
    "c": 0.14908,
    "h": 291.8
  },
  "luminance": 0.298
}

Semantic roles & 50–950 ramp

primary
#9B85EC
secondary
#EDF3D8
accent
#D510AB
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B85EC

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

Preview Lab → · Contrast checker → · Palette generator →

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