#985BE1#985BE1

#985BE1 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.3% C 0.197 H 301.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#985BE1
RGBrgb(152, 91, 225)
HSLhsl(267, 69%, 62%)
HSVhsv(267, 60%, 88%)
CMYKcmyk(32.4%, 59.6%, 0%, 11.8%)
CIE-LABlab(51.37, 51.07, -59.21)
CIE-LCHlch(51.37, 78.19, 310.78°)
OKLaboklab(60.27% 0.1038 -0.1678)
OKLCHoklch(60.27% 0.197 301.7)
XYZxyz(30.2774, 19.5937, 73.4064)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BE1 #A4E15B
analogous
#5B61E1 #985BE1 #DB5BE1
triadic
#985BE1 #E1985B #5BE198
tetradic
#985BE1 #E15B61 #A4E15B #5BE1DB
square
#985BE1 #E15B61 #A4E15B #5BE1DB
split-complementary
#985BE1 #E1DB5B #61E15B
monochromatic
#5B1EA4 #7827D7 #985BE1 #B88FEA #D9C2F4

Accessibility & contrast

On white

4.27
#985BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#985BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BE1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BE1#FFFFFF#000000##000000
##985BE11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7AE5
Deuteranopia (green-blind)
#347ADE
Tritanopia (blue-blind)
#897795
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985be1;
/* rgb */ color: rgb(152, 91, 225);
/* oklch */ color: oklch(60.3% 0.197 301.7);
Tailwind
colors: {
  custom: {
    50: '#bb8ceb',
    500: '#985be1',
    950: '#000000',
  },
}
SCSS
$custom: #985be1;
$custom-light: #bb8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#985be1",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 267.313,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60265,
    "c": 0.19728,
    "h": 301.7
  },
  "luminance": 0.19594
}

Semantic roles & 50–950 ramp

primary
#985BE1
secondary
#CEE5B3
accent
#D1147B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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