#9850C8#9850C8

#9850C8 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.1% C 0.185 H 309.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9850C8
RGBrgb(152, 80, 200)
HSLhsl(276, 52%, 55%)
HSVhsv(276, 60%, 78%)
CMYKcmyk(24%, 60%, 0%, 21.6%)
CIE-LABlab(47.73, 50.87, -50.79)
CIE-LCHlch(47.73, 71.89, 315.05°)
OKLaboklab(57.12% 0.1176 -0.143)
OKLCHoklch(57.12% 0.185 309.4)
XYZxyz(26.2409, 16.5833, 56.4509)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850C8 #80C850
analogous
#5C50C8 #9850C8 #C850BC
triadic
#9850C8 #C89850 #50C898
tetradic
#9850C8 #C85C50 #80C850 #50BCC8
square
#9850C8 #C85C50 #80C850 #50BCC8
split-complementary
#9850C8 #BCC850 #50C85C
monochromatic
#572678 #7934A6 #9850C8 #B37FD7 #CFADE5

Accessibility & contrast

On white

4.86
#9850C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9850C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9850C8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850C8#FFFFFF#000000##FFFFFF
##9850C81.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6ECC
Deuteranopia (green-blind)
#4172C5
Tritanopia (blue-blind)
#916784
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9850c8;
/* rgb */ color: rgb(152, 80, 200);
/* oklch */ color: oklch(57.1% 0.185 309.4);
Tailwind
colors: {
  custom: {
    50: '#ba85d9',
    500: '#9850c8',
    950: '#000000',
  },
}
SCSS
$custom: #9850c8;
$custom-light: #ba85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9850c8",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 276,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57119,
    "c": 0.18515,
    "h": 309.4
  },
  "luminance": 0.16583
}

Semantic roles & 50–950 ramp

primary
#9850C8
secondary
#B5D3A1
accent
#DC4C86
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9850C8

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

Preview Lab → · Contrast checker → · Palette generator →

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