#985FCC#985FCC

#985FCC is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.167 H 306.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#985FCC
RGBrgb(152, 95, 204)
HSLhsl(271, 52%, 59%)
HSVhsv(271, 53%, 80%)
CMYKcmyk(25.5%, 53.4%, 0%, 20%)
CIE-LABlab(50.94, 43.90, -47.96)
CIE-LCHlch(50.94, 65.02, 312.47°)
OKLaboklab(59.55% 0.0984 -0.1348)
OKLCHoklch(59.55% 0.167 306.1)
XYZxyz(27.9379, 19.2197, 59.3530)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FCC #93CC5F
analogous
#615FCC #985FCC #CC5FC9
triadic
#985FCC #CC985F #5FCC98
tetradic
#985FCC #CC615F #93CC5F #5FC9CC
square
#985FCC #CC615F #93CC5F #5FC9CC
split-complementary
#985FCC #C9CC5F #5FCC61
monochromatic
#5A2B86 #7A39B4 #985FCC #B68DDB #D4BCEA

Accessibility & contrast

On white

4.34
#985FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#985FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FCC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FCC#FFFFFF#000000##000000
##985FCC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77D0
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#90738C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985fcc;
/* rgb */ color: rgb(152, 95, 204);
/* oklch */ color: oklch(59.5% 0.167 306.1);
Tailwind
colors: {
  custom: {
    50: '#b98edc',
    500: '#985fcc',
    950: '#000000',
  },
}
SCSS
$custom: #985fcc;
$custom-light: #b98edc;
$custom-dark: #000000;
JSON
{
  "hex": "#985fcc",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 271.376,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.1669,
    "h": 306.1
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#985FCC
secondary
#C2D9AE
accent
#DB4D91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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