#985BE5#985BE5

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

Color values

HEX#985BE5
RGBrgb(152, 91, 229)
HSLhsl(267, 73%, 63%)
HSVhsv(267, 60%, 90%)
CMYKcmyk(33.6%, 60.3%, 0%, 10.2%)
CIE-LABlab(51.63, 52.05, -61.06)
CIE-LCHlch(51.63, 80.23, 310.45°)
OKLaboklab(60.53% 0.1036 -0.1732)
OKLCHoklch(60.53% 0.202 300.9)
XYZxyz(30.8295, 19.8145, 76.3139)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BE5 #A8E55B
analogous
#5B63E5 #985BE5 #DD5BE5
triadic
#985BE5 #E5985B #5BE598
tetradic
#985BE5 #E55B63 #A8E55B #5BE5DD
square
#985BE5 #E55B63 #A8E55B #5BE5DD
split-complementary
#985BE5 #E5DD5B #63E55B
monochromatic
#5A1BAB #7726DD #985BE5 #B990ED #DAC5F6

Accessibility & contrast

On white

4.23
#985BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#985BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BE5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BE5#FFFFFF#000000##000000
##985BE51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985be5;
/* rgb */ color: rgb(152, 91, 229);
/* oklch */ color: oklch(60.5% 0.202 300.9);
Tailwind
colors: {
  custom: {
    50: '#bb8cee',
    500: '#985be5',
    950: '#000000',
  },
}
SCSS
$custom: #985be5;
$custom-light: #bb8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#985be5",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 266.522,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60529,
    "c": 0.20186,
    "h": 300.9
  },
  "luminance": 0.19815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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