#985ED6#985ED6

#985ED6 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.180 H 303.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#985ED6
RGBrgb(152, 94, 214)
HSLhsl(269, 59%, 60%)
HSVhsv(269, 56%, 84%)
CMYKcmyk(29%, 56.1%, 0%, 16.1%)
CIE-LABlab(51.31, 46.82, -53.08)
CIE-LCHlch(51.31, 70.78, 311.41°)
OKLaboklab(60% 0.1001 -0.1498)
OKLCHoklch(60% 0.18 303.8)
XYZxyz(29.0865, 19.5359, 65.8438)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985ED6 #9CD65E
analogous
#5E60D6 #985ED6 #D45ED6
triadic
#985ED6 #D6985E #5ED698
tetradic
#985ED6 #D65E60 #9CD65E #5ED6D4
square
#985ED6 #D65E60 #9CD65E #5ED6D4
split-complementary
#985ED6 #D6D45E #60D65E
monochromatic
#5B2694 #7932C5 #985ED6 #B78FE2 #D6C0EF

Accessibility & contrast

On white

4.28
#985ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#985ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985ED6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985ED6#FFFFFF#000000##000000
##985ED61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F79DA
Deuteranopia (green-blind)
#447AD3
Tritanopia (blue-blind)
#8D7591
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985ed6;
/* rgb */ color: rgb(152, 94, 214);
/* oklch */ color: oklch(60.0% 0.180 303.8);
Tailwind
colors: {
  custom: {
    50: '#ba8ee3',
    500: '#985ed6',
    950: '#000000',
  },
}
SCSS
$custom: #985ed6;
$custom-light: #ba8ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#985ed6",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 214
  },
  "hsl": {
    "h": 269,
    "s": 59.406,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.18018,
    "h": 303.8
  },
  "luminance": 0.19536
}

Semantic roles & 50–950 ramp

primary
#985ED6
secondary
#C9DFB1
accent
#C71E76
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C15
muted
#817D84

Preview Lab

Preview with #985ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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