#9785EE#9785EE

#9785EE is a light, vivid violet. Relative luminance 0.295; OKLCH L 67.8% C 0.152 H 289.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9785EE
RGBrgb(151, 133, 238)
HSLhsl(250, 76%, 73%)
HSVhsv(250, 44%, 93%)
CMYKcmyk(36.6%, 44.1%, 0%, 6.7%)
CIE-LABlab(61.24, 30.75, -50.72)
CIE-LCHlch(61.24, 59.31, 301.22°)
OKLaboklab(67.81% 0.0509 -0.1429)
OKLCHoklch(67.81% 0.152 289.6)
XYZxyz(36.5785, 29.5264, 84.6443)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9785EE #DCEE85
analogous
#85A7EE #9785EE #CC85EE
triadic
#9785EE #EE9785 #85EE97
tetradic
#9785EE #EE85A7 #DCEE85 #85EECC
square
#9785EE #EE85A7 #DCEE85 #85EECC
split-complementary
#9785EE #EECC85 #A7EE85
monochromatic
#3F1EDA #694FE7 #9785EE #C5BBF5 #E8E4FB

Accessibility & contrast

On white

3.04
#9785EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9785EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9785EE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9785EE#FFFFFF#000000##000000
##9785EE1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F2
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#8199AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9785ee;
/* rgb */ color: rgb(151, 133, 238);
/* oklch */ color: oklch(67.8% 0.152 289.6);
Tailwind
colors: {
  custom: {
    50: '#b9a8f4',
    500: '#9785ee',
    950: '#000000',
  },
}
SCSS
$custom: #9785ee;
$custom-light: #b9a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9785ee",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 238
  },
  "hsl": {
    "h": 250.286,
    "s": 75.54,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67813,
    "c": 0.15173,
    "h": 289.6
  },
  "luminance": 0.29527
}

Semantic roles & 50–950 ramp

primary
#9785EE
secondary
#EEF3D8
accent
#D80EB5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9785EE

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

Preview Lab → · Contrast checker → · Palette generator →

#9785EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva