#985BE0#985BE0

#985BE0 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.2% C 0.196 H 302.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#985BE0
RGBrgb(152, 91, 224)
HSLhsl(268, 68%, 62%)
HSVhsv(268, 59%, 88%)
CMYKcmyk(32.1%, 59.4%, 0%, 12.2%)
CIE-LABlab(51.31, 50.83, -58.74)
CIE-LCHlch(51.31, 77.68, 310.87°)
OKLaboklab(60.2% 0.1038 -0.1664)
OKLCHoklch(60.2% 0.196 302)
XYZxyz(30.1414, 19.5393, 72.6901)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BE0 #A3E05B
analogous
#5B61E0 #985BE0 #DB5BE0
triadic
#985BE0 #E0985B #5BE098
tetradic
#985BE0 #E05B61 #A3E05B #5BE0DB
square
#985BE0 #E05B61 #A3E05B #5BE0DB
split-complementary
#985BE0 #E0DB5B #61E05B
monochromatic
#5B1FA2 #7828D5 #985BE0 #B88EEA #D9C2F3

Accessibility & contrast

On white

4.28
#985BE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#985BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BE0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BE0#FFFFFF#000000##000000
##985BE01.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1079E4
Deuteranopia (green-blind)
#357ADD
Tritanopia (blue-blind)
#8A7695
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985be0;
/* rgb */ color: rgb(152, 91, 224);
/* oklch */ color: oklch(60.2% 0.196 302.0);
Tailwind
colors: {
  custom: {
    50: '#ba8cea',
    500: '#985be0',
    950: '#000000',
  },
}
SCSS
$custom: #985be0;
$custom-light: #ba8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#985be0",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 224
  },
  "hsl": {
    "h": 267.519,
    "s": 68.205,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.19612,
    "h": 302
  },
  "luminance": 0.19539
}

Semantic roles & 50–950 ramp

primary
#985BE0
secondary
#CDE4B3
accent
#D0157A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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