#985CBD#985CBD

#985CBD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.154 H 311.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#985CBD
RGBrgb(152, 92, 189)
HSLhsl(277, 42%, 55%)
HSVhsv(277, 51%, 74%)
CMYKcmyk(19.6%, 51.3%, 0%, 25.9%)
CIE-LABlab(49.50, 42.07, -41.62)
CIE-LCHlch(49.50, 59.18, 315.31°)
OKLaboklab(58.22% 0.1012 -0.1163)
OKLCHoklch(58.22% 0.154 311)
XYZxyz(25.9597, 18.0043, 50.2419)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CBD #81BD5C
analogous
#675CBD #985CBD #BD5CB2
triadic
#985CBD #BD985C #5CBD98
tetradic
#985CBD #BD675C #81BD5C #5CB2BD
square
#985CBD #BD675C #81BD5C #5CB2BD
split-complementary
#985CBD #B2BD5C #5CBD67
monochromatic
#572E71 #793F9C #985CBD #B488CF #CFB3E0

Accessibility & contrast

On white

4.56
#985CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#985CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CBD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CBD#FFFFFF#000000##000000
##985CBD1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#5577BA
Tritanopia (blue-blind)
#946C84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985cbd;
/* rgb */ color: rgb(152, 92, 189);
/* oklch */ color: oklch(58.2% 0.154 311.0);
Tailwind
colors: {
  custom: {
    50: '#b88cd1',
    500: '#985cbd',
    950: '#000000',
  },
}
SCSS
$custom: #985cbd;
$custom-light: #b88cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#985cbd",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 277.113,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58219,
    "c": 0.15419,
    "h": 311
  },
  "luminance": 0.18004
}

Semantic roles & 50–950 ramp

primary
#985CBD
secondary
#B6CFA6
accent
#D25685
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985CBD

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

Preview Lab → · Contrast checker → · Palette generator →

#985CBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva