#9850E9#9850E9

#9850E9 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.221 H 301.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9850E9
RGBrgb(152, 80, 233)
HSLhsl(268, 78%, 61%)
HSVhsv(268, 66%, 91%)
CMYKcmyk(34.8%, 65.7%, 0%, 8.6%)
CIE-LABlab(49.85, 58.55, -66.17)
CIE-LCHlch(49.85, 88.36, 311.50°)
OKLaboklab(59.33% 0.1156 -0.1882)
OKLCHoklch(59.33% 0.221 301.6)
XYZxyz(30.5220, 18.2958, 78.9984)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850E9 #A1E950
analogous
#5055E9 #9850E9 #E450E9
triadic
#9850E9 #E99850 #50E998
tetradic
#9850E9 #E95055 #A1E950 #50E9E4
square
#9850E9 #E95055 #A1E950 #50E9E4
split-complementary
#9850E9 #E9E450 #55E950
monochromatic
#5B15A9 #781CE0 #9850E9 #B886F0 #D8BDF7

Accessibility & contrast

On white

4.51
#9850E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9850E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9850E9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850E9#FFFFFF#000000##000000
##9850E91.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#877396
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9850e9;
/* rgb */ color: rgb(152, 80, 233);
/* oklch */ color: oklch(59.3% 0.221 301.6);
Tailwind
colors: {
  custom: {
    50: '#bc86f1',
    500: '#9850e9',
    950: '#000000',
  },
}
SCSS
$custom: #9850e9;
$custom-light: #bc86f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9850e9",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 233
  },
  "hsl": {
    "h": 268.235,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5933,
    "c": 0.22089,
    "h": 301.6
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#9850E9
secondary
#CCE7AE
accent
#DA0C79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9850E9

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

Preview Lab → · Contrast checker → · Palette generator →

#9850E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva