#9850BF#9850BF

#9850BF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.175 H 312.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9850BF
RGBrgb(152, 80, 191)
HSLhsl(279, 46%, 53%)
HSVhsv(279, 58%, 75%)
CMYKcmyk(20.4%, 58.1%, 0%, 25.1%)
CIE-LABlab(47.20, 48.87, -46.43)
CIE-LCHlch(47.20, 67.41, 316.47°)
OKLaboklab(56.57% 0.1175 -0.1303)
OKLCHoklch(56.57% 0.175 312)
XYZxyz(25.2198, 16.1749, 51.0736)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850BF #77BF50
analogous
#6050BF #9850BF #BF50AE
triadic
#9850BF #BF9850 #50BF98
tetradic
#9850BF #BF6050 #77BF50 #50AEBF
square
#9850BF #BF6050 #77BF50 #50AEBF
split-complementary
#9850BF #AEBF50 #50BF60
monochromatic
#55286D #77389A #9850BF #B27DCF #CDAAE0

Accessibility & contrast

On white

4.96
#9850BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9850BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9850BF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850BF#FFFFFF#000000##FFFFFF
##9850BF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#946480
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9850bf;
/* rgb */ color: rgb(152, 80, 191);
/* oklch */ color: oklch(56.6% 0.175 312.0);
Tailwind
colors: {
  custom: {
    50: '#b984d3',
    500: '#9850bf',
    950: '#000000',
  },
}
SCSS
$custom: #9850bf;
$custom-light: #b984d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9850bf",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 278.919,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56565,
    "c": 0.17541,
    "h": 312
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#9850BF
secondary
#AECD9D
accent
#D65280
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9850BF

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

Preview Lab → · Contrast checker → · Palette generator →

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