#9850CA#9850CA

#9850CA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.2% C 0.187 H 308.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9850CA
RGBrgb(152, 80, 202)
HSLhsl(275, 54%, 55%)
HSVhsv(275, 60%, 79%)
CMYKcmyk(24.8%, 60.4%, 0%, 20.8%)
CIE-LABlab(47.85, 51.32, -51.75)
CIE-LCHlch(47.85, 72.88, 314.76°)
OKLaboklab(57.25% 0.1175 -0.1459)
OKLCHoklch(57.25% 0.187 308.9)
XYZxyz(26.4761, 16.6774, 57.6900)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850CA #82CA50
analogous
#5B50CA #9850CA #CA50BF
triadic
#9850CA #CA9850 #50CA98
tetradic
#9850CA #CA5B50 #82CA50 #50BFCA
square
#9850CA #CA5B50 #82CA50 #50BFCA
split-complementary
#9850CA #BFCA50 #50CA5B
monochromatic
#57257A #7933A9 #9850CA #B47FD8 #CFAEE6

Accessibility & contrast

On white

4.84
#9850CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9850CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9850CA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850CA#FFFFFF#000000##FFFFFF
##9850CA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCE
Deuteranopia (green-blind)
#3F73C7
Tritanopia (blue-blind)
#916885
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9850ca;
/* rgb */ color: rgb(152, 80, 202);
/* oklch */ color: oklch(57.2% 0.187 308.9);
Tailwind
colors: {
  custom: {
    50: '#ba85db',
    500: '#9850ca',
    950: '#000000',
  },
}
SCSS
$custom: #9850ca;
$custom-light: #ba85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9850ca",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 275.41,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57245,
    "c": 0.18732,
    "h": 308.9
  },
  "luminance": 0.16677
}

Semantic roles & 50–950 ramp

primary
#9850CA
secondary
#B6D4A1
accent
#DD4B87
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9850CA

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

Preview Lab → · Contrast checker → · Palette generator →

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