#985BCC#985BCC

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

Color values

HEX#985BCC
RGBrgb(152, 91, 204)
HSLhsl(272, 53%, 58%)
HSVhsv(272, 55%, 80%)
CMYKcmyk(25.5%, 55.4%, 0%, 20%)
CIE-LABlab(50.12, 46.06, -49.27)
CIE-LCHlch(50.12, 67.45, 313.07°)
OKLaboklab(58.94% 0.1036 -0.1386)
OKLCHoklch(58.94% 0.173 306.8)
XYZxyz(27.5868, 18.5175, 59.2360)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BCC #8FCC5B
analogous
#5F5BCC #985BCC #CC5BC8
triadic
#985BCC #CC985B #5BCC98
tetradic
#985BCC #CC5F5B #8FCC5B #5BC8CC
square
#985BCC #CC5F5B #8FCC5B #5BC8CC
split-complementary
#985BCC #C8CC5B #5BCC5F
monochromatic
#5A2984 #7A37B2 #985BCC #B58ADB #D3B8E9

Accessibility & contrast

On white

4.46
#985BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#985BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BCC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BCC#FFFFFF#000000##000000
##985BCC1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475D0
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#90708B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985bcc;
/* rgb */ color: rgb(152, 91, 204);
/* oklch */ color: oklch(58.9% 0.173 306.8);
Tailwind
colors: {
  custom: {
    50: '#b98cdc',
    500: '#985bcc',
    950: '#000000',
  },
}
SCSS
$custom: #985bcc;
$custom-light: #b98cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#985bcc",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 272.389,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58941,
    "c": 0.1731,
    "h": 306.8
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#985BCC
secondary
#C0D8AB
accent
#DC4C8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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