#985DF6#985DF6

#985DF6 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.219 H 297.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#985DF6
RGBrgb(152, 93, 246)
HSLhsl(263, 89%, 66%)
HSVhsv(263, 62%, 96%)
CMYKcmyk(38.2%, 62.2%, 0%, 3.5%)
CIE-LABlab(53.12, 55.23, -68.17)
CIE-LCHlch(53.12, 87.73, 309.01°)
OKLaboklab(61.97% 0.1004 -0.1941)
OKLCHoklch(61.97% 0.219 297.4)
XYZxyz(33.4935, 21.1574, 89.4901)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DF6 #BBF65D
analogous
#5D6FF6 #985DF6 #E45DF6
triadic
#985DF6 #F6985D #5DF698
tetradic
#985DF6 #F65D6F #BBF65D #5DF6E4
square
#985DF6 #F65D6F #BBF65D #5DF6E4
split-complementary
#985DF6 #F6E45D #6FF65D
monochromatic
#560BCD #7323F3 #985DF6 #BD97F9 #E2D1FC

Accessibility & contrast

On white

4.01
#985DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#985DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DF6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DF6#FFFFFF#000000##000000
##985DF61.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#817FA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #985df6;
/* rgb */ color: rgb(152, 93, 246);
/* oklch */ color: oklch(62.0% 0.219 297.4);
Tailwind
colors: {
  custom: {
    50: '#bc8efa',
    500: '#985df6',
    950: '#000000',
  },
}
SCSS
$custom: #985df6;
$custom-light: #bc8efa;
$custom-dark: #000000;
JSON
{
  "hex": "#985df6",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 263.137,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.21856,
    "h": 297.4
  },
  "luminance": 0.21158
}

Semantic roles & 50–950 ramp

primary
#985DF6
secondary
#DDF0BF
accent
#E6008D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #985DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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