#985AF4#985AF4

#985AF4 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.220 H 298.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#985AF4
RGBrgb(152, 90, 244)
HSLhsl(264, 88%, 65%)
HSVhsv(264, 63%, 96%)
CMYKcmyk(37.7%, 63.1%, 0%, 4.3%)
CIE-LABlab(52.42, 56.26, -68.19)
CIE-LCHlch(52.42, 88.40, 309.53°)
OKLaboklab(61.42% 0.1038 -0.1942)
OKLCHoklch(61.42% 0.22 298.1)
XYZxyz(32.9301, 20.5189, 87.7960)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AF4 #B6F45A
analogous
#5A69F4 #985AF4 #E55AF4
triadic
#985AF4 #F4985A #5AF498
tetradic
#985AF4 #F45A69 #B6F45A #5AF4E5
square
#985AF4 #F45A69 #B6F45A #5AF4E5
split-complementary
#985AF4 #F4E55A #69F45A
monochromatic
#580DC6 #7421F0 #985AF4 #BC93F8 #E0CDFC

Accessibility & contrast

On white

4.11
#985AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#985AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AF4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AF4#FFFFFF#000000##000000
##985AF41.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#827D9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985af4;
/* rgb */ color: rgb(152, 90, 244);
/* oklch */ color: oklch(61.4% 0.220 298.1);
Tailwind
colors: {
  custom: {
    50: '#bc8cf9',
    500: '#985af4',
    950: '#000000',
  },
}
SCSS
$custom: #985af4;
$custom-light: #bc8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#985af4",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 264.156,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.2202,
    "h": 298.1
  },
  "luminance": 0.20519
}

Semantic roles & 50–950 ramp

primary
#985AF4
secondary
#DAEFBB
accent
#E40189
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #985AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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