#9850CC#9850CC

#9850CC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.189 H 308.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9850CC
RGBrgb(152, 80, 204)
HSLhsl(275, 55%, 56%)
HSVhsv(275, 61%, 80%)
CMYKcmyk(25.5%, 60.8%, 0%, 20%)
CIE-LABlab(47.97, 51.78, -52.70)
CIE-LCHlch(47.97, 73.88, 314.49°)
OKLaboklab(57.37% 0.1175 -0.1487)
OKLCHoklch(57.37% 0.189 308.3)
XYZxyz(26.7144, 16.7728, 58.9452)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850CC #84CC50
analogous
#5A50CC #9850CC #CC50C2
triadic
#9850CC #CC9850 #50CC98
tetradic
#9850CC #CC5A50 #84CC50 #50C2CC
square
#9850CC #CC5A50 #84CC50 #50C2CC
split-complementary
#9850CC #C2CC50 #50CC5A
monochromatic
#58247D #7932AD #9850CC #B47FDA #D0AFE8

Accessibility & contrast

On white

4.82
#9850CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9850CC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850CC#FFFFFF#000000##FFFFFF
##9850CC1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#906887
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9850cc;
/* rgb */ color: rgb(152, 80, 204);
/* oklch */ color: oklch(57.4% 0.189 308.3);
Tailwind
colors: {
  custom: {
    50: '#ba85dc',
    500: '#9850cc',
    950: '#000000',
  },
}
SCSS
$custom: #9850cc;
$custom-light: #ba85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9850cc",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 274.839,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57373,
    "c": 0.18949,
    "h": 308.3
  },
  "luminance": 0.16772
}

Semantic roles & 50–950 ramp

primary
#9850CC
secondary
#B8D6A2
accent
#DE4A88
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9850CC

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

Preview Lab → · Contrast checker → · Palette generator →

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