#985BEE#985BEE

#985BEE is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.212 H 299.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#985BEE
RGBrgb(152, 91, 238)
HSLhsl(265, 81%, 65%)
HSVhsv(265, 62%, 93%)
CMYKcmyk(36.1%, 61.8%, 0%, 6.7%)
CIE-LABlab(52.21, 54.26, -65.17)
CIE-LCHlch(52.21, 84.81, 309.78°)
OKLaboklab(61.14% 0.1032 -0.1853)
OKLCHoklch(61.14% 0.212 299.1)
XYZxyz(32.1188, 20.3303, 83.1043)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BEE #B1EE5B
analogous
#5B68EE #985BEE #E15BEE
triadic
#985BEE #EE985B #5BEE98
tetradic
#985BEE #EE5B68 #B1EE5B #5BEEE1
square
#985BEE #EE5B68 #B1EE5B #5BEEE1
split-complementary
#985BEE #EEE15B #68EE5B
monochromatic
#5913BB #7524E8 #985BEE #BB92F4 #DECAF9

Accessibility & contrast

On white

4.15
#985BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#985BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BEE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BEE#FFFFFF#000000##000000
##985BEE1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#1A7BEB
Tritanopia (blue-blind)
#857B9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985bee;
/* rgb */ color: rgb(152, 91, 238);
/* oklch */ color: oklch(61.1% 0.212 299.1);
Tailwind
colors: {
  custom: {
    50: '#bc8cf4',
    500: '#985bee',
    950: '#000000',
  },
}
SCSS
$custom: #985bee;
$custom-light: #bc8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#985bee",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 264.898,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61137,
    "c": 0.21211,
    "h": 299.1
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#985BEE
secondary
#D7ECB9
accent
#DE0885
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #985BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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