#985FCE#985FCE

#985FCE is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.169 H 305.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#985FCE
RGBrgb(152, 95, 206)
HSLhsl(271, 53%, 59%)
HSVhsv(271, 54%, 81%)
CMYKcmyk(26.2%, 53.9%, 0%, 19.2%)
CIE-LABlab(51.06, 44.37, -48.92)
CIE-LCHlch(51.06, 66.05, 312.21°)
OKLaboklab(59.67% 0.0985 -0.1376)
OKLCHoklch(59.67% 0.169 305.6)
XYZxyz(28.1793, 19.3162, 60.6244)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FCE #95CE5F
analogous
#615FCE #985FCE #CE5FCD
triadic
#985FCE #CE985F #5FCE98
tetradic
#985FCE #CE615F #95CE5F #5FCDCE
square
#985FCE #CE615F #95CE5F #5FCDCE
split-complementary
#985FCE #CDCE5F #5FCE61
monochromatic
#5B2A89 #7A38B8 #985FCE #B68EDC #D4BDEB

Accessibility & contrast

On white

4.32
#985FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#985FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FCE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FCE#FFFFFF#000000##000000
##985FCE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D2
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#8F738D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985fce;
/* rgb */ color: rgb(152, 95, 206);
/* oklch */ color: oklch(59.7% 0.169 305.6);
Tailwind
colors: {
  custom: {
    50: '#b98edd',
    500: '#985fce',
    950: '#000000',
  },
}
SCSS
$custom: #985fce;
$custom-light: #b98edd;
$custom-dark: #000000;
JSON
{
  "hex": "#985fce",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 270.811,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59668,
    "c": 0.16925,
    "h": 305.6
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#985FCE
secondary
#C4DAAF
accent
#DD4B92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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