#985AE2#985AE2

#985AE2 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.2% C 0.200 H 301.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#985AE2
RGBrgb(152, 90, 226)
HSLhsl(267, 70%, 62%)
HSVhsv(267, 60%, 89%)
CMYKcmyk(32.7%, 60.2%, 0%, 11.4%)
CIE-LABlab(51.24, 51.84, -59.98)
CIE-LCHlch(51.24, 79.28, 310.83°)
OKLaboklab(60.19% 0.1049 -0.1701)
OKLCHoklch(60.19% 0.2 301.7)
XYZxyz(30.3293, 19.4786, 74.0987)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AE2 #A4E25A
analogous
#5A60E2 #985AE2 #DC5AE2
triadic
#985AE2 #E2985A #5AE298
tetradic
#985AE2 #E25A60 #A4E25A #5AE2DC
square
#985AE2 #E25A60 #A4E25A #5AE2DC
split-complementary
#985AE2 #E2DC5A #60E25A
monochromatic
#5B1DA5 #7826D9 #985AE2 #B88EEB #D9C2F4

Accessibility & contrast

On white

4.29
#985AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#985AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AE2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AE2#FFFFFF#000000##000000
##985AE21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#3079DF
Tritanopia (blue-blind)
#897696
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985ae2;
/* rgb */ color: rgb(152, 90, 226);
/* oklch */ color: oklch(60.2% 0.200 301.7);
Tailwind
colors: {
  custom: {
    50: '#bb8bec',
    500: '#985ae2',
    950: '#000000',
  },
}
SCSS
$custom: #985ae2;
$custom-light: #bb8bec;
$custom-dark: #000000;
JSON
{
  "hex": "#985ae2",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 267.353,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60189,
    "c": 0.19982,
    "h": 301.7
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#985AE2
secondary
#CEE5B3
accent
#D2137B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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