#985ED0#985ED0

#985ED0 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.173 H 305.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#985ED0
RGBrgb(152, 94, 208)
HSLhsl(271, 55%, 59%)
HSVhsv(271, 55%, 82%)
CMYKcmyk(26.9%, 54.8%, 0%, 18.4%)
CIE-LABlab(50.96, 45.39, -50.22)
CIE-LCHlch(50.96, 67.69, 312.11°)
OKLaboklab(59.64% 0.0999 -0.1414)
OKLCHoklch(59.64% 0.173 305.2)
XYZxyz(28.3343, 19.2351, 61.8823)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985ED0 #96D05E
analogous
#5F5ED0 #985ED0 #D05ECF
triadic
#985ED0 #D0985E #5ED098
tetradic
#985ED0 #D05F5E #96D05E #5ECFD0
square
#985ED0 #D05F5E #96D05E #5ECFD0
split-complementary
#985ED0 #CFD05E #5ED05F
monochromatic
#5B298B #7A36BA #985ED0 #B68DDE #D5BDEC

Accessibility & contrast

On white

4.33
#985ED0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#985ED0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985ED0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985ED0#FFFFFF#000000##000000
##985ED01.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3678D4
Deuteranopia (green-blind)
#4A7ACD
Tritanopia (blue-blind)
#8F738E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985ed0;
/* rgb */ color: rgb(152, 94, 208);
/* oklch */ color: oklch(59.6% 0.173 305.2);
Tailwind
colors: {
  custom: {
    50: '#b98edf',
    500: '#985ed0',
    950: '#000000',
  },
}
SCSS
$custom: #985ed0;
$custom-light: #b98edf;
$custom-dark: #000000;
JSON
{
  "hex": "#985ed0",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 208
  },
  "hsl": {
    "h": 270.526,
    "s": 54.808,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59635,
    "c": 0.17315,
    "h": 305.2
  },
  "luminance": 0.19235
}

Semantic roles & 50–950 ramp

primary
#985ED0
secondary
#C5DBAF
accent
#DE4A93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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