#985FEA#985FEA

#985FEA is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.4% C 0.202 H 299.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#985FEA
RGBrgb(152, 95, 234)
HSLhsl(265, 77%, 65%)
HSVhsv(265, 59%, 92%)
CMYKcmyk(35%, 59.4%, 0%, 8.2%)
CIE-LABlab(52.73, 51.18, -62.09)
CIE-LCHlch(52.73, 80.47, 309.50°)
OKLaboklab(61.43% 0.0988 -0.1763)
OKLCHoklch(61.43% 0.202 299.3)
XYZxyz(31.8887, 20.8000, 80.1607)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FEA #B1EA5F
analogous
#5F6CEA #985FEA #DD5FEA
triadic
#985FEA #EA985F #5FEA98
tetradic
#985FEA #EA5F6C #B1EA5F #5FEADD
square
#985FEA #EA5F6C #B1EA5F #5FEADD
split-complementary
#985FEA #EADD5F #6CEA5F
monochromatic
#5918B7 #7529E3 #985FEA #BB95F1 #DECBF8

Accessibility & contrast

On white

4.07
#985FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#985FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FEA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FEA#FFFFFF#000000##000000
##985FEA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEE
Deuteranopia (green-blind)
#2D7DE7
Tritanopia (blue-blind)
#867D9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985fea;
/* rgb */ color: rgb(152, 95, 234);
/* oklch */ color: oklch(61.4% 0.202 299.3);
Tailwind
colors: {
  custom: {
    50: '#bb8ff1',
    500: '#985fea',
    950: '#000000',
  },
}
SCSS
$custom: #985fea;
$custom-light: #bb8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#985fea",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 264.604,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61434,
    "c": 0.20207,
    "h": 299.3
  },
  "luminance": 0.208
}

Semantic roles & 50–950 ramp

primary
#985FEA
secondary
#D7EABA
accent
#D90C85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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