#985AE7#985AE7

#985AE7 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.206 H 300.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#985AE7
RGBrgb(152, 90, 231)
HSLhsl(266, 75%, 63%)
HSVhsv(266, 61%, 91%)
CMYKcmyk(34.2%, 61%, 0%, 9.4%)
CIE-LABlab(51.56, 53.05, -62.29)
CIE-LCHlch(51.56, 81.82, 310.42°)
OKLaboklab(60.52% 0.1047 -0.1768)
OKLCHoklch(60.52% 0.206 300.6)
XYZxyz(31.0254, 19.7571, 77.7648)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AE7 #A9E75A
analogous
#5A62E7 #985AE7 #DE5AE7
triadic
#985AE7 #E7985A #5AE798
tetradic
#985AE7 #E75A62 #A9E75A #5AE7DE
square
#985AE7 #E75A62 #A9E75A #5AE7DE
split-complementary
#985AE7 #E7DE5A #62E75A
monochromatic
#5A19AD #7725DF #985AE7 #B98FEF #DBC5F7

Accessibility & contrast

On white

4.24
#985AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#985AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AE7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AE7#FFFFFF#000000##000000
##985AE71.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#287AE4
Tritanopia (blue-blind)
#877898
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ae7;
/* rgb */ color: rgb(152, 90, 231);
/* oklch */ color: oklch(60.5% 0.206 300.6);
Tailwind
colors: {
  custom: {
    50: '#bb8cef',
    500: '#985ae7',
    950: '#000000',
  },
}
SCSS
$custom: #985ae7;
$custom-light: #bb8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#985ae7",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 266.383,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.20551,
    "h": 300.6
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#985AE7
secondary
#D1E8B5
accent
#D70F7F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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