#985BFE#985BFE

#985BFE is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.3% C 0.230 H 296.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#985BFE
RGBrgb(152, 91, 254)
HSLhsl(262, 99%, 68%)
HSVhsv(262, 64%, 100%)
CMYKcmyk(40.2%, 64.2%, 0%, 0.4%)
CIE-LABlab(53.29, 58.26, -72.34)
CIE-LCHlch(53.29, 92.88, 308.85°)
OKLaboklab(62.26% 0.1018 -0.2064)
OKLCHoklch(62.26% 0.23 296.3)
XYZxyz(34.5747, 21.3126, 96.0388)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BFE #C1FE5B
analogous
#5B6FFE #985BFE #EA5BFE
triadic
#985BFE #FE985B #5BFE98
tetradic
#985BFE #FE5B6F #C1FE5B #5BFEEA
square
#985BFE #FE5B6F #C1FE5B #5BFEEA
split-complementary
#985BFE #FEEA5B #6FFE5B
monochromatic
#5401DD #721EFE #985BFE #BE98FE #E4D5FF

Accessibility & contrast

On white

3.99
#985BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#985BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BFE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BFE#FFFFFF#000000##000000
##985BFE1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#7E81A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #985bfe;
/* rgb */ color: rgb(152, 91, 254);
/* oklch */ color: oklch(62.3% 0.230 296.3);
Tailwind
colors: {
  custom: {
    50: '#bd8dff',
    500: '#985bfe',
    950: '#000000',
  },
}
SCSS
$custom: #985bfe;
$custom-light: #bd8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#985bfe",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 262.454,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62261,
    "c": 0.23014,
    "h": 296.3
  },
  "luminance": 0.21313
}

Semantic roles & 50–950 ramp

primary
#985BFE
secondary
#E1F4C1
accent
#E60090
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #985BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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