#985DEB#985DEB

#985DEB is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.206 H 299.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#985DEB
RGBrgb(152, 93, 235)
HSLhsl(265, 78%, 64%)
HSVhsv(265, 60%, 92%)
CMYKcmyk(35.3%, 60.4%, 0%, 7.8%)
CIE-LABlab(52.40, 52.48, -63.18)
CIE-LCHlch(52.40, 82.14, 309.71°)
OKLaboklab(61.21% 0.1011 -0.1795)
OKLCHoklch(61.21% 0.206 299.4)
XYZxyz(31.8550, 20.5019, 80.8602)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DEB #B0EB5D
analogous
#5D69EB #985DEB #DF5DEB
triadic
#985DEB #EB985D #5DEB98
tetradic
#985DEB #EB5D69 #B0EB5D #5DEBDF
square
#985DEB #EB5D69 #B0EB5D #5DEBDF
split-complementary
#985DEB #EBDF5D #69EB5D
monochromatic
#5917B7 #7527E4 #985DEB #BB93F2 #DDCAF8

Accessibility & contrast

On white

4.12
#985DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#985DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DEB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DEB#FFFFFF#000000##000000
##985DEB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#867C9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985deb;
/* rgb */ color: rgb(152, 93, 235);
/* oklch */ color: oklch(61.2% 0.206 299.4);
Tailwind
colors: {
  custom: {
    50: '#bb8df2',
    500: '#985deb',
    950: '#000000',
  },
}
SCSS
$custom: #985deb;
$custom-light: #bb8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#985deb",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 264.93,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61214,
    "c": 0.20598,
    "h": 299.4
  },
  "luminance": 0.20502
}

Semantic roles & 50–950 ramp

primary
#985DEB
secondary
#D6EBB9
accent
#DA0B84
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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