#9850DB#9850DB

#9850DB is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.206 H 304.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9850DB
RGBrgb(152, 80, 219)
HSLhsl(271, 66%, 59%)
HSVhsv(271, 63%, 86%)
CMYKcmyk(30.6%, 63.5%, 0%, 14.1%)
CIE-LABlab(48.92, 55.24, -59.76)
CIE-LCHlch(48.92, 81.38, 312.75°)
OKLaboklab(58.36% 0.1168 -0.1694)
OKLCHoklch(58.36% 0.206 304.6)
XYZxyz(28.6009, 17.5273, 68.8805)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850DB #93DB50
analogous
#5250DB #9850DB #DB50D9
triadic
#9850DB #DB9850 #50DB98
tetradic
#9850DB #DB5250 #93DB50 #50D9DB
square
#9850DB #DB5250 #93DB50 #50D9DB
split-complementary
#9850DB #D9DB50 #50DB52
monochromatic
#5A1E92 #7A29C5 #9850DB #B683E5 #D4B6F0

Accessibility & contrast

On white

4.66
#9850DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9850DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9850DB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850DB#FFFFFF#000000##FFFFFF
##9850DB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#2A74D8
Tritanopia (blue-blind)
#8C6E8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9850db;
/* rgb */ color: rgb(152, 80, 219);
/* oklch */ color: oklch(58.4% 0.206 304.6);
Tailwind
colors: {
  custom: {
    50: '#bb85e7',
    500: '#9850db',
    950: '#000000',
  },
}
SCSS
$custom: #9850db;
$custom-light: #bb85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9850db",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 271.079,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5836,
    "c": 0.20577,
    "h": 304.6
  },
  "luminance": 0.17527
}

Semantic roles & 50–950 ramp

primary
#9850DB
secondary
#C2DFA8
accent
#E93F91
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9850DB

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

Preview Lab → · Contrast checker → · Palette generator →

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