#985DDC#985DDC

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

Color values

HEX#985DDC
RGBrgb(152, 93, 220)
HSLhsl(268, 64%, 61%)
HSVhsv(268, 58%, 86%)
CMYKcmyk(30.9%, 57.7%, 0%, 13.7%)
CIE-LABlab(51.46, 48.80, -56.24)
CIE-LCHlch(51.46, 74.46, 310.95°)
OKLaboklab(60.23% 0.1014 -0.1591)
OKLCHoklch(60.23% 0.189 302.5)
XYZxyz(29.7785, 19.6714, 69.9244)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DDC #A1DC5D
analogous
#5D62DC #985DDC #D85DDC
triadic
#985DDC #DC985D #5DDC98
tetradic
#985DDC #DC5D62 #A1DC5D #5DDCD8
square
#985DDC #DC5D62 #A1DC5D #5DDCD8
split-complementary
#985DDC #DCD85D #62DC5D
monochromatic
#5B229D #782DCF #985DDC #B88FE7 #D8C2F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985DDC#FFFFFF#000000##000000
##985DDC1.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)
#237AE0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#8B7794
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ddc;
/* rgb */ color: rgb(152, 93, 220);
/* oklch */ color: oklch(60.2% 0.189 302.5);
Tailwind
colors: {
  custom: {
    50: '#ba8de7',
    500: '#985ddc',
    950: '#000000',
  },
}
SCSS
$custom: #985ddc;
$custom-light: #ba8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#985ddc",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 267.874,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60231,
    "c": 0.18864,
    "h": 302.5
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

primary
#985DDC
secondary
#CCE2B3
accent
#CC1979
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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