#985CDD#985CDD

#985CDD is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.191 H 302.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#985CDD
RGBrgb(152, 92, 221)
HSLhsl(268, 65%, 61%)
HSVhsv(268, 58%, 87%)
CMYKcmyk(31.2%, 58.4%, 0%, 13.3%)
CIE-LABlab(51.32, 49.57, -57.02)
CIE-LCHlch(51.32, 75.56, 311.00°)
OKLaboklab(60.15% 0.1026 -0.1614)
OKLCHoklch(60.15% 0.191 302.5)
XYZxyz(29.8242, 19.5501, 70.5949)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CDD #A1DD5C
analogous
#5C61DD #985CDD #D95CDD
triadic
#985CDD #DD985C #5CDD98
tetradic
#985CDD #DD5C61 #A1DD5C #5CDDD9
square
#985CDD #DD5C61 #A1DD5C #5CDDD9
split-complementary
#985CDD #DDD95C #61DD5C
monochromatic
#5B219E #782BD0 #985CDD #B88FE8 #D8C1F2

Accessibility & contrast

On white

4.28
#985CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#985CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CDD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CDD#FFFFFF#000000##000000
##985CDD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D79E1
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#8B7694
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985cdd;
/* rgb */ color: rgb(152, 92, 221);
/* oklch */ color: oklch(60.1% 0.191 302.5);
Tailwind
colors: {
  custom: {
    50: '#ba8de8',
    500: '#985cdd',
    950: '#000000',
  },
}
SCSS
$custom: #985cdd;
$custom-light: #ba8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#985cdd",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 267.907,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60149,
    "c": 0.19125,
    "h": 302.5
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#985CDD
secondary
#CCE3B2
accent
#CD1879
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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