#985FEC#985FEC

#985FEC is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.6% C 0.204 H 298.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#985FEC
RGBrgb(152, 95, 236)
HSLhsl(264, 79%, 65%)
HSVhsv(264, 60%, 93%)
CMYKcmyk(35.6%, 59.7%, 0%, 7.5%)
CIE-LABlab(52.86, 51.68, -63.01)
CIE-LCHlch(52.86, 81.49, 309.36°)
OKLaboklab(61.57% 0.0988 -0.179)
OKLCHoklch(61.57% 0.204 298.9)
XYZxyz(32.1777, 20.9156, 81.6825)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FEC #B3EC5F
analogous
#5F6DEC #985FEC #DE5FEC
triadic
#985FEC #EC985F #5FEC98
tetradic
#985FEC #EC5F6D #B3EC5F #5FECDE
square
#985FEC #EC5F6D #B3EC5F #5FECDE
split-complementary
#985FEC #ECDE5F #6DEC5F
monochromatic
#5916BA #7528E6 #985FEC #BB96F2 #DECCF9

Accessibility & contrast

On white

4.05
#985FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#985FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FEC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FEC#FFFFFF#000000##000000
##985FEC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#297DE9
Tritanopia (blue-blind)
#857D9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985fec;
/* rgb */ color: rgb(152, 95, 236);
/* oklch */ color: oklch(61.6% 0.204 298.9);
Tailwind
colors: {
  custom: {
    50: '#bb8ff3',
    500: '#985fec',
    950: '#000000',
  },
}
SCSS
$custom: #985fec;
$custom-light: #bb8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#985fec",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 264.255,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61567,
    "c": 0.2044,
    "h": 298.9
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

primary
#985FEC
secondary
#D8EBBB
accent
#DB0A87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #985FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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