#985BCB#985BCB

#985BCB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.172 H 307.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#985BCB
RGBrgb(152, 91, 203)
HSLhsl(273, 52%, 58%)
HSVhsv(273, 55%, 80%)
CMYKcmyk(25.1%, 55.2%, 0%, 20.4%)
CIE-LABlab(50.06, 45.82, -48.79)
CIE-LCHlch(50.06, 66.94, 313.20°)
OKLaboklab(58.88% 0.1036 -0.1372)
OKLCHoklch(58.88% 0.172 307)
XYZxyz(27.4673, 18.4697, 58.6063)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BCB #8ECB5B
analogous
#605BCB #985BCB #CB5BC6
triadic
#985BCB #CB985B #5BCB98
tetradic
#985BCB #CB605B #8ECB5B #5BC6CB
square
#985BCB #CB605B #8ECB5B #5BC6CB
split-complementary
#985BCB #C6CB5B #5BCB60
monochromatic
#5A2982 #7A38B1 #985BCB #B589DA #D2B8E8

Accessibility & contrast

On white

4.47
#985BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#985BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BCB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BCB#FFFFFF#000000##000000
##985BCB1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#4A78C8
Tritanopia (blue-blind)
#90708A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985bcb;
/* rgb */ color: rgb(152, 91, 203);
/* oklch */ color: oklch(58.9% 0.172 307.0);
Tailwind
colors: {
  custom: {
    50: '#b98cdb',
    500: '#985bcb',
    950: '#000000',
  },
}
SCSS
$custom: #985bcb;
$custom-light: #b98cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#985bcb",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 272.679,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58881,
    "c": 0.17195,
    "h": 307
  },
  "luminance": 0.18469
}

Semantic roles & 50–950 ramp

primary
#985BCB
secondary
#BFD7AA
accent
#DB4C8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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