#9785EA#9785EA

#9785EA is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.6% C 0.146 H 290.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9785EA
RGBrgb(151, 133, 234)
HSLhsl(251, 71%, 72%)
HSVhsv(251, 43%, 92%)
CMYKcmyk(35.5%, 43.2%, 0%, 8.2%)
CIE-LABlab(61.04, 29.68, -48.83)
CIE-LCHlch(61.04, 57.14, 301.30°)
OKLaboklab(67.59% 0.0503 -0.1374)
OKLCHoklch(67.59% 0.146 290.1)
XYZxyz(35.9974, 29.2940, 81.5836)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9785EA #D8EA85
analogous
#85A6EA #9785EA #CA85EA
triadic
#9785EA #EA9785 #85EA97
tetradic
#9785EA #EA85A6 #D8EA85 #85EACA
square
#9785EA #EA85A6 #D8EA85 #85EACA
split-complementary
#9785EA #EACA85 #A6EA85
monochromatic
#4324D1 #6A51E1 #9785EA #C4B9F3 #E9E5FB

Accessibility & contrast

On white

3.06
#9785EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9785EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9785EA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9785EA#FFFFFF#000000##000000
##9785EA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#8298AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9785ea;
/* rgb */ color: rgb(151, 133, 234);
/* oklch */ color: oklch(67.6% 0.146 290.1);
Tailwind
colors: {
  custom: {
    50: '#b9a8f1',
    500: '#9785ea',
    950: '#000000',
  },
}
SCSS
$custom: #9785ea;
$custom-light: #b9a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9785ea",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 250.693,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67594,
    "c": 0.14633,
    "h": 290.1
  },
  "luminance": 0.29295
}

Semantic roles & 50–950 ramp

primary
#9785EA
secondary
#EEF2D9
accent
#D313B0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9785EA

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

Preview Lab → · Contrast checker → · Palette generator →

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