#985AE3#985AE3

#985AE3 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.201 H 301.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#985AE3
RGBrgb(152, 90, 227)
HSLhsl(267, 71%, 62%)
HSVhsv(267, 60%, 89%)
CMYKcmyk(33%, 60.4%, 0%, 11%)
CIE-LABlab(51.31, 52.08, -60.45)
CIE-LCHlch(51.31, 79.79, 310.75°)
OKLaboklab(60.26% 0.1049 -0.1714)
OKLCHoklch(60.26% 0.201 301.5)
XYZxyz(30.4669, 19.5337, 74.8234)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AE3 #A5E35A
analogous
#5A61E3 #985AE3 #DC5AE3
triadic
#985AE3 #E3985A #5AE398
tetradic
#985AE3 #E35A61 #A5E35A #5AE3DC
square
#985AE3 #E35A61 #A5E35A #5AE3DC
split-complementary
#985AE3 #E3DC5A #61E35A
monochromatic
#5B1CA6 #7726DA #985AE3 #B98EEC #D9C3F5

Accessibility & contrast

On white

4.28
#985AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#985AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AE3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AE3#FFFFFF#000000##000000
##985AE31.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#2F7AE0
Tritanopia (blue-blind)
#897796
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985ae3;
/* rgb */ color: rgb(152, 90, 227);
/* oklch */ color: oklch(60.3% 0.201 301.5);
Tailwind
colors: {
  custom: {
    50: '#bb8bed',
    500: '#985ae3',
    950: '#000000',
  },
}
SCSS
$custom: #985ae3;
$custom-light: #bb8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#985ae3",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 267.153,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60255,
    "c": 0.20096,
    "h": 301.5
  },
  "luminance": 0.19534
}

Semantic roles & 50–950 ramp

primary
#985AE3
secondary
#CFE6B3
accent
#D3127C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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