#985EDA#985EDA

#985EDA is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.3% C 0.185 H 302.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#985EDA
RGBrgb(152, 94, 218)
HSLhsl(268, 63%, 61%)
HSVhsv(268, 57%, 85%)
CMYKcmyk(30.3%, 56.9%, 0%, 14.5%)
CIE-LABlab(51.55, 47.78, -54.97)
CIE-LCHlch(51.55, 72.84, 311.00°)
OKLaboklab(60.25% 0.1002 -0.1553)
OKLCHoklch(60.25% 0.185 302.8)
XYZxyz(29.6036, 19.7428, 68.5672)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EDA #A0DA5E
analogous
#5E62DA #985EDA #D65EDA
triadic
#985EDA #DA985E #5EDA98
tetradic
#985EDA #DA5E62 #A0DA5E #5EDAD6
square
#985EDA #DA5E62 #A0DA5E #5EDAD6
split-complementary
#985EDA #DAD65E #62DA5E
monochromatic
#5B239A #782FCC #985EDA #B890E5 #D8C2F1

Accessibility & contrast

On white

4.24
#985EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#985EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EDA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EDA#FFFFFF#000000##000000
##985EDA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADE
Deuteranopia (green-blind)
#407BD7
Tritanopia (blue-blind)
#8C7793
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985eda;
/* rgb */ color: rgb(152, 94, 218);
/* oklch */ color: oklch(60.3% 0.185 302.8);
Tailwind
colors: {
  custom: {
    50: '#ba8ee6',
    500: '#985eda',
    950: '#000000',
  },
}
SCSS
$custom: #985eda;
$custom-light: #ba8ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#985eda",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 268.065,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60252,
    "c": 0.18485,
    "h": 302.8
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#985EDA
secondary
#CBE1B3
accent
#CA1B78
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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