#985AE5#985AE5

#985AE5 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.203 H 301.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#985AE5
RGBrgb(152, 90, 229)
HSLhsl(267, 73%, 63%)
HSVhsv(267, 61%, 90%)
CMYKcmyk(33.6%, 60.7%, 0%, 10.2%)
CIE-LABlab(51.43, 52.57, -61.37)
CIE-LCHlch(51.43, 80.80, 310.58°)
OKLaboklab(60.39% 0.1048 -0.1741)
OKLCHoklch(60.39% 0.203 301)
XYZxyz(30.7445, 19.6447, 76.2856)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AE5 #A7E55A
analogous
#5A61E5 #985AE5 #DE5AE5
triadic
#985AE5 #E5985A #5AE598
tetradic
#985AE5 #E55A61 #A7E55A #5AE5DE
square
#985AE5 #E55A61 #A7E55A #5AE5DE
split-complementary
#985AE5 #E5DE5A #61E55A
monochromatic
#5B1BAA #7725DD #985AE5 #B98FED #DAC4F6

Accessibility & contrast

On white

4.26
#985AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#985AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AE5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AE5#FFFFFF#000000##000000
##985AE51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#2C7AE2
Tritanopia (blue-blind)
#887897
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ae5;
/* rgb */ color: rgb(152, 90, 229);
/* oklch */ color: oklch(60.4% 0.203 301.0);
Tailwind
colors: {
  custom: {
    50: '#bb8bee',
    500: '#985ae5',
    950: '#000000',
  },
}
SCSS
$custom: #985ae5;
$custom-light: #bb8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#985ae5",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 266.763,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60388,
    "c": 0.20323,
    "h": 301
  },
  "luminance": 0.19645
}

Semantic roles & 50–950 ramp

primary
#985AE5
secondary
#D0E7B4
accent
#D5117D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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