#9850DC#9850DC

#9850DC is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.207 H 304.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9850DC
RGBrgb(152, 80, 220)
HSLhsl(271, 67%, 59%)
HSVhsv(271, 64%, 86%)
CMYKcmyk(30.9%, 63.6%, 0%, 13.7%)
CIE-LABlab(48.98, 55.47, -60.23)
CIE-LCHlch(48.98, 81.88, 312.65°)
OKLaboklab(58.43% 0.1168 -0.1707)
OKLCHoklch(58.43% 0.207 304.4)
XYZxyz(28.7329, 17.5801, 69.5759)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850DC #94DC50
analogous
#5250DC #9850DC #DC50DA
triadic
#9850DC #DC9850 #50DC98
tetradic
#9850DC #DC5250 #94DC50 #50DADC
square
#9850DC #DC5250 #94DC50 #50DADC
split-complementary
#9850DC #DADC50 #50DC52
monochromatic
#5A1E94 #7A28C7 #9850DC #B683E6 #D4B6F0

Accessibility & contrast

On white

4.65
#9850DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9850DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9850DC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850DC#FFFFFF#000000##FFFFFF
##9850DC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2874D9
Tritanopia (blue-blind)
#8B6E8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9850dc;
/* rgb */ color: rgb(152, 80, 220);
/* oklch */ color: oklch(58.4% 0.207 304.4);
Tailwind
colors: {
  custom: {
    50: '#bb85e8',
    500: '#9850dc',
    950: '#000000',
  },
}
SCSS
$custom: #9850dc;
$custom-light: #bb85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9850dc",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 270.857,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58428,
    "c": 0.20685,
    "h": 304.4
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#9850DC
secondary
#C3DFA8
accent
#EA3E91
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9850DC

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

Preview Lab → · Contrast checker → · Palette generator →

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