#9850DF#9850DF

#9850DF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.210 H 303.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9850DF
RGBrgb(152, 80, 223)
HSLhsl(270, 69%, 59%)
HSVhsv(270, 64%, 87%)
CMYKcmyk(31.8%, 64.1%, 0%, 12.5%)
CIE-LABlab(49.18, 56.18, -61.61)
CIE-LCHlch(49.18, 83.38, 312.36°)
OKLaboklab(58.63% 0.1165 -0.1748)
OKLCHoklch(58.63% 0.21 303.7)
XYZxyz(29.1338, 17.7405, 71.6871)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850DF #97DF50
analogous
#5150DF #9850DF #DF50DE
triadic
#9850DF #DF9850 #50DF98
tetradic
#9850DF #DF5150 #97DF50 #50DEDF
square
#9850DF #DF5150 #97DF50 #50DEDF
split-complementary
#9850DF #DEDF50 #50DF51
monochromatic
#5B1C99 #7925CC #9850DF #B684E8 #D5B7F2

Accessibility & contrast

On white

4.62
#9850DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9850DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9850DF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850DF#FFFFFF#000000##FFFFFF
##9850DF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#2275DC
Tritanopia (blue-blind)
#8A6F91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9850df;
/* rgb */ color: rgb(152, 80, 223);
/* oklch */ color: oklch(58.6% 0.210 303.7);
Tailwind
colors: {
  custom: {
    50: '#bb85ea',
    500: '#9850df',
    950: '#000000',
  },
}
SCSS
$custom: #9850df;
$custom-light: #bb85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9850df",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 270.21,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.2101,
    "h": 303.7
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#9850DF
secondary
#C5E1AA
accent
#EC3C93
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9850DF

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

Preview Lab → · Contrast checker → · Palette generator →

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