#985AE0#985AE0

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

Color values

HEX#985AE0
RGBrgb(152, 90, 224)
HSLhsl(268, 68%, 62%)
HSVhsv(268, 60%, 88%)
CMYKcmyk(32.1%, 59.8%, 0%, 12.2%)
CIE-LABlab(51.12, 51.35, -59.06)
CIE-LCHlch(51.12, 78.26, 311.01°)
OKLaboklab(60.06% 0.105 -0.1673)
OKLCHoklch(60.06% 0.198 302.1)
XYZxyz(30.0565, 19.3695, 72.6618)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AE0 #A2E05A
analogous
#5A5FE0 #985AE0 #DB5AE0
triadic
#985AE0 #E0985A #5AE098
tetradic
#985AE0 #E05A5F #A2E05A #5AE0DB
square
#985AE0 #E05A5F #A2E05A #5AE0DB
split-complementary
#985AE0 #E0DB5A #5FE05A
monochromatic
#5B1EA1 #7828D5 #985AE0 #B88EEA #D8C1F3

Accessibility & contrast

On white

4.31
#985AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#985AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AE0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AE0#FFFFFF#000000##000000
##985AE01.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0979E4
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#8A7695
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985ae0;
/* rgb */ color: rgb(152, 90, 224);
/* oklch */ color: oklch(60.1% 0.198 302.1);
Tailwind
colors: {
  custom: {
    50: '#bb8bea',
    500: '#985ae0',
    950: '#000000',
  },
}
SCSS
$custom: #985ae0;
$custom-light: #bb8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#985ae0",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 267.761,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.19754,
    "h": 302.1
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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