#9785EF#9785EF

#9785EF is a light, vivid violet. Relative luminance 0.296; OKLCH L 67.9% C 0.153 H 289.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9785EF
RGBrgb(151, 133, 239)
HSLhsl(250, 77%, 73%)
HSVhsv(250, 44%, 94%)
CMYKcmyk(36.8%, 44.4%, 0%, 6.3%)
CIE-LABlab(61.29, 31.01, -51.19)
CIE-LCHlch(61.29, 59.85, 301.21°)
OKLaboklab(67.87% 0.051 -0.1443)
OKLCHoklch(67.87% 0.153 289.5)
XYZxyz(36.7258, 29.5853, 85.4202)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9785EF #DDEF85
analogous
#85A8EF #9785EF #CC85EF
triadic
#9785EF #EF9785 #85EF97
tetradic
#9785EF #EF85A8 #DDEF85 #85EFCC
square
#9785EF #EF85A8 #DDEF85 #85EFCC
split-complementary
#9785EF #EFCC85 #A8EF85
monochromatic
#3D1DDD #694FE8 #9785EF #C5BBF6 #E8E4FB

Accessibility & contrast

On white

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

On black

6.92
#9785EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9785EF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9785EF#FFFFFF#000000##000000
##9785EF1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#6192EC
Tritanopia (blue-blind)
#809AAE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9785ef;
/* rgb */ color: rgb(151, 133, 239);
/* oklch */ color: oklch(67.9% 0.153 289.5);
Tailwind
colors: {
  custom: {
    50: '#b9a8f5',
    500: '#9785ef',
    950: '#000000',
  },
}
SCSS
$custom: #9785ef;
$custom-light: #b9a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9785ef",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 250.189,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67869,
    "c": 0.15308,
    "h": 289.5
  },
  "luminance": 0.29586
}

Semantic roles & 50–950 ramp

primary
#9785EF
secondary
#EFF3D8
accent
#D90CB6
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #9785EF

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

Preview Lab → · Contrast checker → · Palette generator →

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