#985BCE#985BCE

#985BCE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.175 H 306.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#985BCE
RGBrgb(152, 91, 206)
HSLhsl(272, 54%, 58%)
HSVhsv(272, 56%, 81%)
CMYKcmyk(26.2%, 55.8%, 0%, 19.2%)
CIE-LABlab(50.23, 46.53, -50.24)
CIE-LCHlch(50.23, 68.47, 312.80°)
OKLaboklab(59.06% 0.1037 -0.1415)
OKLCHoklch(59.06% 0.175 306.2)
XYZxyz(27.8282, 18.6140, 60.5074)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BCE #91CE5B
analogous
#5E5BCE #985BCE #CE5BCB
triadic
#985BCE #CE985B #5BCE98
tetradic
#985BCE #CE5E5B #91CE5B #5BCBCE
square
#985BCE #CE5E5B #91CE5B #5BCBCE
split-complementary
#985BCE #CBCE5B #5BCE5E
monochromatic
#5A2886 #7A36B6 #985BCE #B68ADC #D3B9EA

Accessibility & contrast

On white

4.45
#985BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#985BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BCE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BCE#FFFFFF#000000##000000
##985BCE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D2
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#8F718C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985bce;
/* rgb */ color: rgb(152, 91, 206);
/* oklch */ color: oklch(59.1% 0.175 306.2);
Tailwind
colors: {
  custom: {
    50: '#b98cdd',
    500: '#985bce',
    950: '#000000',
  },
}
SCSS
$custom: #985bce;
$custom-light: #b98cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#985bce",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 271.826,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59062,
    "c": 0.17541,
    "h": 306.2
  },
  "luminance": 0.18614
}

Semantic roles & 50–950 ramp

primary
#985BCE
secondary
#C1D9AB
accent
#DD4A8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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