#985AE6#985AE6

#985AE6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.204 H 300.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#985AE6
RGBrgb(152, 90, 230)
HSLhsl(267, 74%, 63%)
HSVhsv(267, 61%, 90%)
CMYKcmyk(33.9%, 60.9%, 0%, 9.8%)
CIE-LABlab(51.50, 52.81, -61.83)
CIE-LCHlch(51.50, 81.31, 310.50°)
OKLaboklab(60.46% 0.1048 -0.1755)
OKLCHoklch(60.46% 0.204 300.8)
XYZxyz(30.8846, 19.7007, 77.0231)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AE6 #A8E65A
analogous
#5A62E6 #985AE6 #DE5AE6
triadic
#985AE6 #E6985A #5AE698
tetradic
#985AE6 #E65A62 #A8E65A #5AE6DE
square
#985AE6 #E65A62 #A8E65A #5AE6DE
split-complementary
#985AE6 #E6DE5A #62E65A
monochromatic
#5A1AAC #7725DE #985AE6 #B98FEE #DAC4F6

Accessibility & contrast

On white

4.25
#985AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#985AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AE6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AE6#FFFFFF#000000##000000
##985AE61.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#2A7AE3
Tritanopia (blue-blind)
#887898
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ae6;
/* rgb */ color: rgb(152, 90, 230);
/* oklch */ color: oklch(60.5% 0.204 300.8);
Tailwind
colors: {
  custom: {
    50: '#bb8cef',
    500: '#985ae6',
    950: '#000000',
  },
}
SCSS
$custom: #985ae6;
$custom-light: #bb8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#985ae6",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 266.571,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.20437,
    "h": 300.8
  },
  "luminance": 0.19701
}

Semantic roles & 50–950 ramp

primary
#985AE6
secondary
#D1E7B5
accent
#D6107E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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