#9850CB#9850CB

#9850CB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.188 H 308.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9850CB
RGBrgb(152, 80, 203)
HSLhsl(275, 54%, 55%)
HSVhsv(275, 61%, 80%)
CMYKcmyk(25.1%, 60.6%, 0%, 20.4%)
CIE-LABlab(47.91, 51.55, -52.23)
CIE-LCHlch(47.91, 73.38, 314.63°)
OKLaboklab(57.31% 0.1175 -0.1473)
OKLCHoklch(57.31% 0.188 308.6)
XYZxyz(26.5949, 16.7249, 58.3155)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850CB #83CB50
analogous
#5A50CB #9850CB #CB50C0
triadic
#9850CB #CB9850 #50CB98
tetradic
#9850CB #CB5A50 #83CB50 #50C0CB
square
#9850CB #CB5A50 #83CB50 #50C0CB
split-complementary
#9850CB #C0CB50 #50CB5A
monochromatic
#58257C #7933AB #9850CB #B47FD9 #D0AEE7

Accessibility & contrast

On white

4.83
#9850CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9850CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9850CB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850CB#FFFFFF#000000##FFFFFF
##9850CB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#916886
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9850cb;
/* rgb */ color: rgb(152, 80, 203);
/* oklch */ color: oklch(57.3% 0.188 308.6);
Tailwind
colors: {
  custom: {
    50: '#ba85db',
    500: '#9850cb',
    950: '#000000',
  },
}
SCSS
$custom: #9850cb;
$custom-light: #ba85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9850cb",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 275.122,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57309,
    "c": 0.18841,
    "h": 308.6
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#9850CB
secondary
#B7D5A2
accent
#DE4A87
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9850CB

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

Preview Lab → · Contrast checker → · Palette generator →

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