#985CDF#985CDF

#985CDF is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.3% C 0.194 H 302.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#985CDF
RGBrgb(152, 92, 223)
HSLhsl(267, 67%, 62%)
HSVhsv(267, 59%, 87%)
CMYKcmyk(31.8%, 58.7%, 0%, 12.5%)
CIE-LABlab(51.45, 50.06, -57.96)
CIE-LCHlch(51.45, 76.58, 310.82°)
OKLaboklab(60.28% 0.1026 -0.1641)
OKLCHoklch(60.28% 0.194 302)
XYZxyz(30.0922, 19.6573, 72.0066)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CDF #A3DF5C
analogous
#5C62DF #985CDF #DA5CDF
triadic
#985CDF #DF985C #5CDF98
tetradic
#985CDF #DF5C62 #A3DF5C #5CDFDA
square
#985CDF #DF5C62 #A3DF5C #5CDFDA
split-complementary
#985CDF #DFDA5C #62DF5C
monochromatic
#5B20A1 #782AD4 #985CDF #B88FE9 #D9C2F3

Accessibility & contrast

On white

4.26
#985CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#985CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CDF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CDF#FFFFFF#000000##000000
##985CDF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#187AE3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#8A7795
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985cdf;
/* rgb */ color: rgb(152, 92, 223);
/* oklch */ color: oklch(60.3% 0.194 302.0);
Tailwind
colors: {
  custom: {
    50: '#ba8dea',
    500: '#985cdf',
    950: '#000000',
  },
}
SCSS
$custom: #985cdf;
$custom-light: #ba8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#985cdf",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 267.481,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60278,
    "c": 0.19356,
    "h": 302
  },
  "luminance": 0.19657
}

Semantic roles & 50–950 ramp

primary
#985CDF
secondary
#CDE4B3
accent
#CF167B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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