#985AEA#985AEA

#985AEA is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.209 H 300.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#985AEA
RGBrgb(152, 90, 234)
HSLhsl(266, 77%, 64%)
HSVhsv(266, 62%, 92%)
CMYKcmyk(35%, 61.5%, 0%, 8.2%)
CIE-LABlab(51.76, 53.79, -63.66)
CIE-LCHlch(51.76, 83.34, 310.20°)
OKLaboklab(60.72% 0.1046 -0.1809)
OKLCHoklch(60.72% 0.209 300)
XYZxyz(31.4527, 19.9280, 80.0154)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AEA #ACEA5A
analogous
#5A64EA #985AEA #E05AEA
triadic
#985AEA #EA985A #5AEA98
tetradic
#985AEA #EA5A64 #ACEA5A #5AEAE0
square
#985AEA #EA5A64 #ACEA5A #5AEAE0
split-complementary
#985AEA #EAE05A #64EA5A
monochromatic
#5A17B3 #7624E3 #985AEA #BA90F1 #DCC7F8

Accessibility & contrast

On white

4.21
#985AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#985AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AEA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AEA#FFFFFF#000000##000000
##985AEA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#227AE7
Tritanopia (blue-blind)
#86799A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985aea;
/* rgb */ color: rgb(152, 90, 234);
/* oklch */ color: oklch(60.7% 0.209 300.0);
Tailwind
colors: {
  custom: {
    50: '#bb8cf2',
    500: '#985aea',
    950: '#000000',
  },
}
SCSS
$custom: #985aea;
$custom-light: #bb8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#985aea",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 265.833,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60725,
    "c": 0.20891,
    "h": 300
  },
  "luminance": 0.19928
}

Semantic roles & 50–950 ramp

primary
#985AEA
secondary
#D3E9B6
accent
#DA0C81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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