#9850D8#9850D8

#9850D8 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.203 H 305.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9850D8
RGBrgb(152, 80, 216)
HSLhsl(272, 64%, 58%)
HSVhsv(272, 63%, 85%)
CMYKcmyk(29.6%, 63%, 0%, 15.3%)
CIE-LABlab(48.72, 54.54, -58.37)
CIE-LCHlch(48.72, 79.88, 313.06°)
OKLaboklab(58.16% 0.117 -0.1653)
OKLCHoklch(58.16% 0.203 305.3)
XYZxyz(28.2095, 17.3708, 66.8192)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850D8 #90D850
analogous
#5450D8 #9850D8 #D850D4
triadic
#9850D8 #D89850 #50D898
tetradic
#9850D8 #D85450 #90D850 #50D4D8
square
#9850D8 #D85450 #90D850 #50D4D8
split-complementary
#9850D8 #D4D850 #50D854
monochromatic
#5A208E #7A2BC0 #9850D8 #B582E3 #D3B4EE

Accessibility & contrast

On white

4.69
#9850D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9850D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9850D8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850D8#FFFFFF#000000##FFFFFF
##9850D81.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#2E74D5
Tritanopia (blue-blind)
#8D6C8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9850d8;
/* rgb */ color: rgb(152, 80, 216);
/* oklch */ color: oklch(58.2% 0.203 305.3);
Tailwind
colors: {
  custom: {
    50: '#bb85e5',
    500: '#9850d8',
    950: '#000000',
  },
}
SCSS
$custom: #9850d8;
$custom-light: #bb85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9850d8",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 271.765,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58158,
    "c": 0.20252,
    "h": 305.3
  },
  "luminance": 0.17371
}

Semantic roles & 50–950 ramp

primary
#9850D8
secondary
#C0DDA7
accent
#E7418F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9850D8

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

Preview Lab → · Contrast checker → · Palette generator →

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