#985AE1#985AE1

#985AE1 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.1% C 0.199 H 301.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#985AE1
RGBrgb(152, 90, 225)
HSLhsl(268, 69%, 62%)
HSVhsv(268, 60%, 88%)
CMYKcmyk(32.4%, 60%, 0%, 11.8%)
CIE-LABlab(51.18, 51.59, -59.52)
CIE-LCHlch(51.18, 78.77, 310.92°)
OKLaboklab(60.12% 0.105 -0.1687)
OKLCHoklch(60.12% 0.199 301.9)
XYZxyz(30.1925, 19.4239, 73.3781)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AE1 #A3E15A
analogous
#5A60E1 #985AE1 #DC5AE1
triadic
#985AE1 #E1985A #5AE198
tetradic
#985AE1 #E15A60 #A3E15A #5AE1DC
square
#985AE1 #E15A60 #A3E15A #5AE1DC
split-complementary
#985AE1 #E1DC5A #60E15A
monochromatic
#5B1EA3 #7827D7 #985AE1 #B88EEA #D9C2F4

Accessibility & contrast

On white

4.30
#985AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#985AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AE1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AE1#FFFFFF#000000##000000
##985AE11.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0479E5
Deuteranopia (green-blind)
#3279DE
Tritanopia (blue-blind)
#897695
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985ae1;
/* rgb */ color: rgb(152, 90, 225);
/* oklch */ color: oklch(60.1% 0.199 301.9);
Tailwind
colors: {
  custom: {
    50: '#bb8beb',
    500: '#985ae1',
    950: '#000000',
  },
}
SCSS
$custom: #985ae1;
$custom-light: #bb8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#985ae1",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 267.556,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60123,
    "c": 0.19868,
    "h": 301.9
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#985AE1
secondary
#CDE4B2
accent
#D1147A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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