#985CF4#985CF4

#985CF4 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.218 H 297.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#985CF4
RGBrgb(152, 92, 244)
HSLhsl(264, 87%, 66%)
HSVhsv(264, 62%, 96%)
CMYKcmyk(37.7%, 62.3%, 0%, 4.3%)
CIE-LABlab(52.80, 55.24, -67.58)
CIE-LCHlch(52.80, 87.28, 309.26°)
OKLaboklab(61.69% 0.1017 -0.1924)
OKLCHoklch(61.69% 0.218 297.9)
XYZxyz(33.1010, 20.8609, 87.8530)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CF4 #B8F45C
analogous
#5C6CF4 #985CF4 #E45CF4
triadic
#985CF4 #F4985C #5CF498
tetradic
#985CF4 #F45C6C #B8F45C #5CF4E4
square
#985CF4 #F45C6C #B8F45C #5CF4E4
split-complementary
#985CF4 #F4E45C #6CF45C
monochromatic
#570EC8 #7423F0 #985CF4 #BC95F8 #E0CFFC

Accessibility & contrast

On white

4.06
#985CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#985CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CF4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CF4#FFFFFF#000000##000000
##985CF41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#047CF1
Tritanopia (blue-blind)
#827EA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985cf4;
/* rgb */ color: rgb(152, 92, 244);
/* oklch */ color: oklch(61.7% 0.218 297.9);
Tailwind
colors: {
  custom: {
    50: '#bc8df9',
    500: '#985cf4',
    950: '#000000',
  },
}
SCSS
$custom: #985cf4;
$custom-light: #bc8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#985cf4",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 263.684,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6169,
    "c": 0.21759,
    "h": 297.9
  },
  "luminance": 0.20861
}

Semantic roles & 50–950 ramp

primary
#985CF4
secondary
#DBEFBD
accent
#E4028B
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #985CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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