#9850DD#9850DD

#9850DD is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.208 H 304.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9850DD
RGBrgb(152, 80, 221)
HSLhsl(271, 67%, 59%)
HSVhsv(271, 64%, 87%)
CMYKcmyk(31.2%, 63.8%, 0%, 13.3%)
CIE-LABlab(49.05, 55.71, -60.69)
CIE-LCHlch(49.05, 82.38, 312.55°)
OKLaboklab(58.5% 0.1167 -0.1721)
OKLCHoklch(58.5% 0.208 304.1)
XYZxyz(28.8658, 17.6333, 70.2754)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850DD #95DD50
analogous
#5250DD #9850DD #DD50DC
triadic
#9850DD #DD9850 #50DD98
tetradic
#9850DD #DD5250 #95DD50 #50DCDD
square
#9850DD #DD5250 #95DD50 #50DCDD
split-complementary
#9850DD #DCDD50 #50DD52
monochromatic
#5B1D96 #7A27C9 #9850DD #B683E7 #D4B6F1

Accessibility & contrast

On white

4.64
#9850DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9850DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9850DD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850DD#FFFFFF#000000##FFFFFF
##9850DD1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#2674DA
Tritanopia (blue-blind)
#8B6E8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9850dd;
/* rgb */ color: rgb(152, 80, 221);
/* oklch */ color: oklch(58.5% 0.208 304.1);
Tailwind
colors: {
  custom: {
    50: '#bb85e8',
    500: '#9850dd',
    950: '#000000',
  },
}
SCSS
$custom: #9850dd;
$custom-light: #bb85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9850dd",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 270.638,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58496,
    "c": 0.20794,
    "h": 304.1
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#9850DD
secondary
#C4E0A9
accent
#EA3D92
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9850DD

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

Preview Lab → · Contrast checker → · Palette generator →

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