#985DF4#985DF4

#985DF4 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.216 H 297.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#985DF4
RGBrgb(152, 93, 244)
HSLhsl(263, 87%, 66%)
HSVhsv(263, 62%, 96%)
CMYKcmyk(37.7%, 61.9%, 0%, 4.3%)
CIE-LABlab(52.99, 54.73, -67.27)
CIE-LCHlch(52.99, 86.72, 309.13°)
OKLaboklab(61.83% 0.1006 -0.1915)
OKLCHoklch(61.83% 0.216 297.7)
XYZxyz(33.1882, 21.0353, 87.8821)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DF4 #B9F45D
analogous
#5D6DF4 #985DF4 #E45DF4
triadic
#985DF4 #F4985D #5DF498
tetradic
#985DF4 #F45D6D #B9F45D #5DF4E4
square
#985DF4 #F45D6D #B9F45D #5DF4E4
split-complementary
#985DF4 #F4E45D #6DF45D
monochromatic
#570EC9 #7424F0 #985DF4 #BC96F8 #E1D0FC

Accessibility & contrast

On white

4.03
#985DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#985DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DF4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DF4#FFFFFF#000000##000000
##985DF41.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#0B7DF1
Tritanopia (blue-blind)
#827FA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985df4;
/* rgb */ color: rgb(152, 93, 244);
/* oklch */ color: oklch(61.8% 0.216 297.7);
Tailwind
colors: {
  custom: {
    50: '#bc8ef9',
    500: '#985df4',
    950: '#000000',
  },
}
SCSS
$custom: #985df4;
$custom-light: #bc8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#985df4",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 263.444,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61828,
    "c": 0.21628,
    "h": 297.7
  },
  "luminance": 0.21036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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