#9850CE#9850CE

#9850CE is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.5% C 0.192 H 307.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9850CE
RGBrgb(152, 80, 206)
HSLhsl(274, 56%, 56%)
HSVhsv(274, 61%, 81%)
CMYKcmyk(26.2%, 61.2%, 0%, 19.2%)
CIE-LABlab(48.09, 52.23, -53.66)
CIE-LCHlch(48.09, 74.88, 314.23°)
OKLaboklab(57.5% 0.1175 -0.1514)
OKLCHoklch(57.5% 0.192 307.8)
XYZxyz(26.9559, 16.8693, 60.2166)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850CE #86CE50
analogous
#5950CE #9850CE #CE50C5
triadic
#9850CE #CE9850 #50CE98
tetradic
#9850CE #CE5950 #86CE50 #50C5CE
square
#9850CE #CE5950 #86CE50 #50C5CE
split-complementary
#9850CE #C5CE50 #50CE59
monochromatic
#582480 #7931B0 #9850CE #B480DB #D0B0E9

Accessibility & contrast

On white

4.80
#9850CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9850CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9850CE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850CE#FFFFFF#000000##FFFFFF
##9850CE1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD2
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#906988
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9850ce;
/* rgb */ color: rgb(152, 80, 206);
/* oklch */ color: oklch(57.5% 0.192 307.8);
Tailwind
colors: {
  custom: {
    50: '#ba85de',
    500: '#9850ce',
    950: '#000000',
  },
}
SCSS
$custom: #9850ce;
$custom-light: #ba85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9850ce",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 274.286,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.19166,
    "h": 307.8
  },
  "luminance": 0.16869
}

Semantic roles & 50–950 ramp

primary
#9850CE
secondary
#B9D7A3
accent
#E04889
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9850CE

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

Preview Lab → · Contrast checker → · Palette generator →

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