#985BE6#985BE6

#985BE6 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.203 H 300.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#985BE6
RGBrgb(152, 91, 230)
HSLhsl(266, 74%, 63%)
HSVhsv(266, 60%, 90%)
CMYKcmyk(33.9%, 60.4%, 0%, 9.8%)
CIE-LABlab(51.69, 52.29, -61.52)
CIE-LCHlch(51.69, 80.74, 310.37°)
OKLaboklab(60.6% 0.1036 -0.1746)
OKLCHoklch(60.6% 0.203 300.7)
XYZxyz(30.9695, 19.8706, 77.0514)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BE6 #A9E65B
analogous
#5B63E6 #985BE6 #DE5BE6
triadic
#985BE6 #E6985B #5BE698
tetradic
#985BE6 #E65B63 #A9E65B #5BE6DE
square
#985BE6 #E65B63 #A9E65B #5BE6DE
split-complementary
#985BE6 #E6DE5B #63E65B
monochromatic
#5A1AAC #7726DE #985BE6 #B990EE #DBC5F6

Accessibility & contrast

On white

4.22
#985BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#985BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BE6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BE6#FFFFFF#000000##000000
##985BE61.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#887998
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985be6;
/* rgb */ color: rgb(152, 91, 230);
/* oklch */ color: oklch(60.6% 0.203 300.7);
Tailwind
colors: {
  custom: {
    50: '#bb8cef',
    500: '#985be6',
    950: '#000000',
  },
}
SCSS
$custom: #985be6;
$custom-light: #bb8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#985be6",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 266.331,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.203,
    "h": 300.7
  },
  "luminance": 0.19871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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