#9850E7#9850E7

#9850E7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.219 H 302.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9850E7
RGBrgb(152, 80, 231)
HSLhsl(269, 76%, 61%)
HSVhsv(269, 65%, 91%)
CMYKcmyk(34.2%, 65.4%, 0%, 9.4%)
CIE-LABlab(49.72, 58.07, -65.27)
CIE-LCHlch(49.72, 87.36, 311.66°)
OKLaboklab(59.19% 0.1158 -0.1856)
OKLCHoklch(59.19% 0.219 302)
XYZxyz(30.2379, 18.1822, 77.5023)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850E7 #9FE750
analogous
#5053E7 #9850E7 #E350E7
triadic
#9850E7 #E79850 #50E798
tetradic
#9850E7 #E75053 #9FE750 #50E7E3
square
#9850E7 #E75053 #9FE750 #50E7E3
split-complementary
#9850E7 #E7E350 #53E750
monochromatic
#5B17A6 #791EDC #9850E7 #B886EE #D7BCF6

Accessibility & contrast

On white

4.53
#9850E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9850E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9850E7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850E7#FFFFFF#000000##000000
##9850E71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0776E4
Tritanopia (blue-blind)
#887295
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9850e7;
/* rgb */ color: rgb(152, 80, 231);
/* oklch */ color: oklch(59.2% 0.219 302.0);
Tailwind
colors: {
  custom: {
    50: '#bc85ef',
    500: '#9850e7',
    950: '#000000',
  },
}
SCSS
$custom: #9850e7;
$custom-light: #bc85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9850e7",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 268.609,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59189,
    "c": 0.21873,
    "h": 302
  },
  "luminance": 0.18182
}

Semantic roles & 50–950 ramp

primary
#9850E7
secondary
#CBE6AD
accent
#D80D77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9850E7

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

Preview Lab → · Contrast checker → · Palette generator →

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