#985BE7#985BE7

#985BE7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.204 H 300.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#985BE7
RGBrgb(152, 91, 231)
HSLhsl(266, 74%, 63%)
HSVhsv(266, 61%, 91%)
CMYKcmyk(34.2%, 60.6%, 0%, 9.4%)
CIE-LABlab(51.75, 52.54, -61.98)
CIE-LCHlch(51.75, 81.25, 310.29°)
OKLaboklab(60.66% 0.1036 -0.1759)
OKLCHoklch(60.66% 0.204 300.5)
XYZxyz(31.1103, 19.9269, 77.7931)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BE7 #AAE75B
analogous
#5B64E7 #985BE7 #DE5BE7
triadic
#985BE7 #E7985B #5BE798
tetradic
#985BE7 #E75B64 #AAE75B #5BE7DE
square
#985BE7 #E75B64 #AAE75B #5BE7DE
split-complementary
#985BE7 #E7DE5B #64E75B
monochromatic
#5A19AE #7626DF #985BE7 #BA90EF #DBC6F7

Accessibility & contrast

On white

4.21
#985BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#985BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BE7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BE7#FFFFFF#000000##000000
##985BE71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#2A7AE4
Tritanopia (blue-blind)
#877999
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985be7;
/* rgb */ color: rgb(152, 91, 231);
/* oklch */ color: oklch(60.7% 0.204 300.5);
Tailwind
colors: {
  custom: {
    50: '#bb8cef',
    500: '#985be7',
    950: '#000000',
  },
}
SCSS
$custom: #985be7;
$custom-light: #bb8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#985be7",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 266.143,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60663,
    "c": 0.20414,
    "h": 300.5
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#985BE7
secondary
#D2E8B6
accent
#D70F80
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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