#9850E5#9850E5

#9850E5 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.217 H 302.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9850E5
RGBrgb(152, 80, 229)
HSLhsl(269, 74%, 61%)
HSVhsv(269, 65%, 90%)
CMYKcmyk(33.6%, 65.1%, 0%, 10.2%)
CIE-LABlab(49.58, 57.59, -64.36)
CIE-LCHlch(49.58, 86.37, 311.83°)
OKLaboklab(59.05% 0.116 -0.1829)
OKLCHoklch(59.05% 0.217 302.4)
XYZxyz(29.9571, 18.0698, 76.0231)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850E5 #9DE550
analogous
#5053E5 #9850E5 #E250E5
triadic
#9850E5 #E59850 #50E598
tetradic
#9850E5 #E55053 #9DE550 #50E5E2
square
#9850E5 #E55053 #9DE550 #50E5E2
split-complementary
#9850E5 #E5E250 #53E550
monochromatic
#5B18A2 #7920D8 #9850E5 #B785ED #D7BBF5

Accessibility & contrast

On white

4.55
#9850E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9850E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9850E5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850E5#FFFFFF#000000##000000
##9850E51.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#1175E2
Tritanopia (blue-blind)
#887194
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9850e5;
/* rgb */ color: rgb(152, 80, 229);
/* oklch */ color: oklch(59.0% 0.217 302.4);
Tailwind
colors: {
  custom: {
    50: '#bb85ee',
    500: '#9850e5',
    950: '#000000',
  },
}
SCSS
$custom: #9850e5;
$custom-light: #bb85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9850e5",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 268.993,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59048,
    "c": 0.21658,
    "h": 302.4
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#9850E5
secondary
#C9E5AC
accent
#D60F76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9850E5

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

Preview Lab → · Contrast checker → · Palette generator →

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