#9850EF#9850EF

#9850EF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.8% C 0.227 H 300.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9850EF
RGBrgb(152, 80, 239)
HSLhsl(267, 83%, 63%)
HSVhsv(267, 67%, 94%)
CMYKcmyk(36.4%, 66.5%, 0%, 6.3%)
CIE-LABlab(50.27, 59.98, -68.87)
CIE-LCHlch(50.27, 91.33, 311.05°)
OKLaboklab(59.76% 0.1149 -0.1962)
OKLCHoklch(59.76% 0.227 300.4)
XYZxyz(31.3937, 18.6445, 83.5894)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850EF #A7EF50
analogous
#5057EF #9850EF #E850EF
triadic
#9850EF #EF9850 #50EF98
tetradic
#9850EF #EF5057 #A7EF50 #50EFE8
square
#9850EF #EF5057 #A7EF50 #50EFE8
split-complementary
#9850EF #EFE850 #57EF50
monochromatic
#5B10B4 #7718EA #9850EF #B988F4 #DAC0F9

Accessibility & contrast

On white

4.44
#9850EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9850EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9850EF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850EF#FFFFFF#000000##000000
##9850EF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#857599
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9850ef;
/* rgb */ color: rgb(152, 80, 239);
/* oklch */ color: oklch(59.8% 0.227 300.4);
Tailwind
colors: {
  custom: {
    50: '#bc86f5',
    500: '#9850ef',
    950: '#000000',
  },
}
SCSS
$custom: #9850ef;
$custom-light: #bc86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9850ef",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 239
  },
  "hsl": {
    "h": 267.17,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.22733,
    "h": 300.4
  },
  "luminance": 0.18645
}

Semantic roles & 50–950 ramp

primary
#9850EF
secondary
#D0EAB0
accent
#E0067D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9850EF

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

Preview Lab → · Contrast checker → · Palette generator →

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