#985AEC#985AEC

#985AEC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.211 H 299.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#985AEC
RGBrgb(152, 90, 236)
HSLhsl(265, 79%, 64%)
HSVhsv(265, 62%, 93%)
CMYKcmyk(35.6%, 61.9%, 0%, 7.5%)
CIE-LABlab(51.89, 54.28, -64.57)
CIE-LCHlch(51.89, 84.36, 310.05°)
OKLaboklab(60.86% 0.1044 -0.1835)
OKLCHoklch(60.86% 0.211 299.6)
XYZxyz(31.7417, 20.0436, 81.5371)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AEC #AEEC5A
analogous
#5A65EC #985AEC #E15AEC
triadic
#985AEC #EC985A #5AEC98
tetradic
#985AEC #EC5A65 #AEEC5A #5AECE1
square
#985AEC #EC5A65 #AEEC5A #5AECE1
split-complementary
#985AEC #ECE15A #65EC5A
monochromatic
#5A15B7 #7623E6 #985AEC #BA91F2 #DDC8F9

Accessibility & contrast

On white

4.19
#985AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#985AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AEC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AEC#FFFFFF#000000##000000
##985AEC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#1D7BE9
Tritanopia (blue-blind)
#857A9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985aec;
/* rgb */ color: rgb(152, 90, 236);
/* oklch */ color: oklch(60.9% 0.211 299.6);
Tailwind
colors: {
  custom: {
    50: '#bb8cf3',
    500: '#985aec',
    950: '#000000',
  },
}
SCSS
$custom: #985aec;
$custom-light: #bb8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#985aec",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 265.479,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.21118,
    "h": 299.6
  },
  "luminance": 0.20044
}

Semantic roles & 50–950 ramp

primary
#985AEC
secondary
#D5EBB7
accent
#DC0A83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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