#985BF1#985BF1

#985BF1 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.216 H 298.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#985BF1
RGBrgb(152, 91, 241)
HSLhsl(264, 84%, 65%)
HSVhsv(264, 62%, 95%)
CMYKcmyk(36.9%, 62.2%, 0%, 5.5%)
CIE-LABlab(52.41, 55.01, -66.53)
CIE-LCHlch(52.41, 86.33, 309.58°)
OKLaboklab(61.34% 0.103 -0.1893)
OKLCHoklch(61.34% 0.216 298.5)
XYZxyz(32.5632, 20.5080, 85.4449)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BF1 #B4F15B
analogous
#5B69F1 #985BF1 #E35BF1
triadic
#985BF1 #F1985B #5BF198
tetradic
#985BF1 #F15B69 #B4F15B #5BF1E3
square
#985BF1 #F15B69 #B4F15B #5BF1E3
split-complementary
#985BF1 #F1E35B #69F15B
monochromatic
#5810C1 #7523EC #985BF1 #BB93F6 #DFCCFB

Accessibility & contrast

On white

4.12
#985BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#985BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BF1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BF1#FFFFFF#000000##000000
##985BF11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#0F7CEE
Tritanopia (blue-blind)
#847C9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985bf1;
/* rgb */ color: rgb(152, 91, 241);
/* oklch */ color: oklch(61.3% 0.216 298.5);
Tailwind
colors: {
  custom: {
    50: '#bc8cf6',
    500: '#985bf1',
    950: '#000000',
  },
}
SCSS
$custom: #985bf1;
$custom-light: #bc8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#985bf1",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 264.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61344,
    "c": 0.21551,
    "h": 298.5
  },
  "luminance": 0.20508
}

Semantic roles & 50–950 ramp

primary
#985BF1
secondary
#D9EDBA
accent
#E10587
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #985BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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