#9850DE#9850DE

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

Color values

HEX#9850DE
RGBrgb(152, 80, 222)
HSLhsl(270, 68%, 59%)
HSVhsv(270, 64%, 87%)
CMYKcmyk(31.5%, 64%, 0%, 12.9%)
CIE-LABlab(49.11, 55.94, -61.15)
CIE-LCHlch(49.11, 82.88, 312.45°)
OKLaboklab(58.56% 0.1166 -0.1735)
OKLCHoklch(58.56% 0.209 303.9)
XYZxyz(28.9994, 17.6867, 70.9792)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850DE #96DE50
analogous
#5150DE #9850DE #DE50DD
triadic
#9850DE #DE9850 #50DE98
tetradic
#9850DE #DE5150 #96DE50 #50DDDE
square
#9850DE #DE5150 #96DE50 #50DDDE
split-complementary
#9850DE #DDDE50 #50DE51
monochromatic
#5B1C97 #7A26CB #9850DE #B683E8 #D5B7F1

Accessibility & contrast

On white

4.63
#9850DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9850DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9850DE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850DE#FFFFFF#000000##FFFFFF
##9850DE1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#2475DB
Tritanopia (blue-blind)
#8B6F90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9850de;
/* rgb */ color: rgb(152, 80, 222);
/* oklch */ color: oklch(58.6% 0.209 303.9);
Tailwind
colors: {
  custom: {
    50: '#bb85e9',
    500: '#9850de',
    950: '#000000',
  },
}
SCSS
$custom: #9850de;
$custom-light: #bb85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9850de",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 222
  },
  "hsl": {
    "h": 270.423,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58564,
    "c": 0.20902,
    "h": 303.9
  },
  "luminance": 0.17687
}

Semantic roles & 50–950 ramp

primary
#9850DE
secondary
#C5E1A9
accent
#EB3D93
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9850DE

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

Preview Lab → · Contrast checker → · Palette generator →

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