#9785EB#9785EB

#9785EB is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.6% C 0.148 H 290.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9785EB
RGBrgb(151, 133, 235)
HSLhsl(251, 72%, 72%)
HSVhsv(251, 43%, 92%)
CMYKcmyk(35.7%, 43.4%, 0%, 7.8%)
CIE-LABlab(61.09, 29.95, -49.30)
CIE-LCHlch(61.09, 57.68, 301.28°)
OKLaboklab(67.65% 0.0505 -0.1388)
OKLCHoklch(67.65% 0.148 290)
XYZxyz(36.1414, 29.3516, 82.3424)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9785EB #D9EB85
analogous
#85A6EB #9785EB #CA85EB
triadic
#9785EB #EB9785 #85EB97
tetradic
#9785EB #EB85A6 #D9EB85 #85EBCA
square
#9785EB #EB85A6 #D9EB85 #85EBCA
split-complementary
#9785EB #EBCA85 #A6EB85
monochromatic
#4223D3 #6A50E2 #9785EB #C4BAF4 #E9E5FB

Accessibility & contrast

On white

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

On black

6.87
#9785EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9785EB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9785EB#FFFFFF#000000##000000
##9785EB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EF
Deuteranopia (green-blind)
#6491E9
Tritanopia (blue-blind)
#8299AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9785eb;
/* rgb */ color: rgb(151, 133, 235);
/* oklch */ color: oklch(67.6% 0.148 290.0);
Tailwind
colors: {
  custom: {
    50: '#b9a8f2',
    500: '#9785eb',
    950: '#000000',
  },
}
SCSS
$custom: #9785eb;
$custom-light: #b9a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9785eb",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 250.588,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67648,
    "c": 0.14768,
    "h": 290
  },
  "luminance": 0.29353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9785EB

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

Preview Lab → · Contrast checker → · Palette generator →

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