#985ECA#985ECA

#985ECA is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.166 H 306.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#985ECA
RGBrgb(152, 94, 202)
HSLhsl(272, 50%, 58%)
HSVhsv(272, 53%, 79%)
CMYKcmyk(24.8%, 53.5%, 0%, 20.8%)
CIE-LABlab(50.62, 43.97, -47.32)
CIE-LCHlch(50.62, 64.60, 312.90°)
OKLaboklab(59.28% 0.0996 -0.133)
OKLCHoklch(59.28% 0.166 306.8)
XYZxyz(27.6101, 18.9454, 58.0680)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985ECA #90CA5E
analogous
#625ECA #985ECA #CA5EC6
triadic
#985ECA #CA985E #5ECA98
tetradic
#985ECA #CA625E #90CA5E #5EC6CA
square
#985ECA #CA625E #90CA5E #5EC6CA
split-complementary
#985ECA #C6CA5E #5ECA62
monochromatic
#5A2B83 #7A3AB1 #985ECA #B58CD9 #D3BAE8

Accessibility & contrast

On white

4.39
#985ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#985ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985ECA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985ECA#FFFFFF#000000##000000
##985ECA1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CE
Deuteranopia (green-blind)
#4E79C7
Tritanopia (blue-blind)
#90728B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985eca;
/* rgb */ color: rgb(152, 94, 202);
/* oklch */ color: oklch(59.3% 0.166 306.8);
Tailwind
colors: {
  custom: {
    50: '#b98edb',
    500: '#985eca',
    950: '#000000',
  },
}
SCSS
$custom: #985eca;
$custom-light: #b98edb;
$custom-dark: #000000;
JSON
{
  "hex": "#985eca",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 272.222,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59277,
    "c": 0.16611,
    "h": 306.8
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#985ECA
secondary
#C0D7AC
accent
#DA4E8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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