#985AF9#985AF9

#985AF9 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.226 H 297.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#985AF9
RGBrgb(152, 90, 249)
HSLhsl(263, 93%, 66%)
HSVhsv(263, 64%, 98%)
CMYKcmyk(39%, 63.9%, 0%, 2.4%)
CIE-LABlab(52.76, 57.51, -70.42)
CIE-LCHlch(52.76, 90.92, 309.24°)
OKLaboklab(61.77% 0.1034 -0.2008)
OKLCHoklch(61.77% 0.226 297.2)
XYZxyz(33.6995, 20.8267, 91.8486)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AF9 #BBF95A
analogous
#5A6CF9 #985AF9 #E75AF9
triadic
#985AF9 #F9985A #5AF998
tetradic
#985AF9 #F95A6C #BBF95A #5AF9E7
square
#985AF9 #F95A6C #BBF95A #5AF9E7
split-complementary
#985AF9 #F9E75A #6CF95A
monochromatic
#5608D1 #731FF7 #985AF9 #BD95FB #E2D0FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985AF9#FFFFFF#000000##000000
##985AF91.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFE
Deuteranopia (green-blind)
#007CF6
Tritanopia (blue-blind)
#807EA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985af9;
/* rgb */ color: rgb(152, 90, 249);
/* oklch */ color: oklch(61.8% 0.226 297.2);
Tailwind
colors: {
  custom: {
    50: '#bd8cfc',
    500: '#985af9',
    950: '#000000',
  },
}
SCSS
$custom: #985af9;
$custom-light: #bd8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#985af9",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 249
  },
  "hsl": {
    "h": 263.396,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6177,
    "c": 0.22581,
    "h": 297.2
  },
  "luminance": 0.20827
}

Semantic roles & 50–950 ramp

primary
#985AF9
secondary
#DDF1BE
accent
#E6008C
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #985AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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