#9850BD#9850BD

#9850BD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.173 H 312.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9850BD
RGBrgb(152, 80, 189)
HSLhsl(280, 45%, 53%)
HSVhsv(280, 58%, 74%)
CMYKcmyk(19.6%, 57.7%, 0%, 25.9%)
CIE-LABlab(47.09, 48.43, -45.45)
CIE-LCHlch(47.09, 66.41, 316.82°)
OKLaboklab(56.44% 0.1174 -0.1274)
OKLCHoklch(56.44% 0.173 312.7)
XYZxyz(25.0013, 16.0875, 49.9224)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850BD #75BD50
analogous
#6150BD #9850BD #BD50AB
triadic
#9850BD #BD9850 #50BD98
tetradic
#9850BD #BD6150 #75BD50 #50ABBD
square
#9850BD #BD6150 #75BD50 #50ABBD
split-complementary
#9850BD #ABBD50 #50BD61
monochromatic
#54286A #773997 #9850BD #B27CCE #CCA9DF

Accessibility & contrast

On white

4.98
#9850BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9850BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9850BD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850BD#FFFFFF#000000##FFFFFF
##9850BD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC1
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#94637F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9850bd;
/* rgb */ color: rgb(152, 80, 189);
/* oklch */ color: oklch(56.4% 0.173 312.7);
Tailwind
colors: {
  custom: {
    50: '#b984d1',
    500: '#9850bd',
    950: '#000000',
  },
}
SCSS
$custom: #9850bd;
$custom-light: #b984d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9850bd",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 279.633,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.17324,
    "h": 312.7
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#9850BD
secondary
#ADCC9D
accent
#D5537F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9850BD

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

Preview Lab → · Contrast checker → · Palette generator →

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