#985AFF#985AFF

#985AFF is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.2% C 0.233 H 296.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#985AFF
RGBrgb(152, 90, 255)
HSLhsl(263, 100%, 68%)
HSVhsv(263, 65%, 100%)
CMYKcmyk(40.4%, 64.7%, 0%, 0%)
CIE-LABlab(53.18, 59.02, -73.08)
CIE-LCHlch(53.18, 93.93, 308.92°)
OKLaboklab(62.2% 0.1028 -0.2086)
OKLCHoklch(62.2% 0.233 296.2)
XYZxyz(34.6503, 21.2070, 96.8561)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AFF #C1FF5A
analogous
#5A6FFF #985AFF #EA5AFF
triadic
#985AFF #FF985A #5AFF98
tetradic
#985AFF #FF5A6F #C1FF5A #5AFFEA
square
#985AFF #FF5A6F #C1FF5A #5AFFEA
split-complementary
#985AFF #FFEA5A #6FFF5A
monochromatic
#5400DF #721DFF #985AFF #BE97FF #E4D4FF

Accessibility & contrast

On white

4.01
#985AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#985AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AFF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AFF#FFFFFF#000000##000000
##985AFF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985aff;
/* rgb */ color: rgb(152, 90, 255);
/* oklch */ color: oklch(62.2% 0.233 296.2);
Tailwind
colors: {
  custom: {
    50: '#bd8cff',
    500: '#985aff',
    950: '#000000',
  },
}
SCSS
$custom: #985aff;
$custom-light: #bd8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#985aff",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 262.545,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62201,
    "c": 0.2325,
    "h": 296.2
  },
  "luminance": 0.21208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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