#985DDE#985DDE

#985DDE is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.191 H 302.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#985DDE
RGBrgb(152, 93, 222)
HSLhsl(267, 66%, 62%)
HSVhsv(267, 58%, 87%)
CMYKcmyk(31.5%, 58.1%, 0%, 12.9%)
CIE-LABlab(51.59, 49.29, -57.17)
CIE-LCHlch(51.59, 75.48, 310.76°)
OKLaboklab(60.36% 0.1014 -0.1618)
OKLCHoklch(60.36% 0.191 302.1)
XYZxyz(30.0450, 19.7780, 71.3277)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DDE #A3DE5D
analogous
#5D63DE #985DDE #D95DDE
triadic
#985DDE #DE985D #5DDE98
tetradic
#985DDE #DE5D63 #A3DE5D #5DDED9
square
#985DDE #DE5D63 #A3DE5D #5DDED9
split-complementary
#985DDE #DED95D #63DE5D
monochromatic
#5B21A0 #782BD3 #985DDE #B890E8 #D9C3F3

Accessibility & contrast

On white

4.24
#985DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#985DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DDE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DDE#FFFFFF#000000##000000
##985DDE1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7AE2
Deuteranopia (green-blind)
#3B7ADB
Tritanopia (blue-blind)
#8A7795
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985dde;
/* rgb */ color: rgb(152, 93, 222);
/* oklch */ color: oklch(60.4% 0.191 302.1);
Tailwind
colors: {
  custom: {
    50: '#ba8de9',
    500: '#985dde',
    950: '#000000',
  },
}
SCSS
$custom: #985dde;
$custom-light: #ba8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#985dde",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 222
  },
  "hsl": {
    "h": 267.442,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60359,
    "c": 0.19097,
    "h": 302.1
  },
  "luminance": 0.19778
}

Semantic roles & 50–950 ramp

primary
#985DDE
secondary
#CDE3B4
accent
#CE177B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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