#985EA4#985EA4

#985EA4 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.2% C 0.122 H 320.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#985EA4
RGBrgb(152, 94, 164)
HSLhsl(290, 28%, 51%)
HSVhsv(290, 43%, 64%)
CMYKcmyk(7.3%, 42.7%, 0%, 35.7%)
CIE-LABlab(48.71, 35.56, -28.27)
CIE-LCHlch(48.71, 45.42, 321.52°)
OKLaboklab(57.23% 0.0945 -0.0777)
OKLCHoklch(57.23% 0.122 320.6)
XYZxyz(23.6516, 17.3620, 37.2201)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EA4 #6AA45E
analogous
#755EA4 #985EA4 #A45E8D
triadic
#985EA4 #A4985E #5EA498
tetradic
#985EA4 #A4755E #6AA45E #5E8DA4
square
#985EA4 #A4755E #6AA45E #5E8DA4
split-complementary
#985EA4 #8DA45E #5EA475
monochromatic
#503157 #74477E #985EA4 #B185BA #CAACD0

Accessibility & contrast

On white

4.70
#985EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#985EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985EA4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EA4#FFFFFF#000000##FFFFFF
##985EA41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5470A7
Deuteranopia (green-blind)
#6476A2
Tritanopia (blue-blind)
#996779
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985ea4;
/* rgb */ color: rgb(152, 94, 164);
/* oklch */ color: oklch(57.2% 0.122 320.6);
Tailwind
colors: {
  custom: {
    50: '#b78dbf',
    500: '#985ea4',
    950: '#000000',
  },
}
SCSS
$custom: #985ea4;
$custom-light: #b78dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#985ea4",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 289.714,
    "s": 27.778,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57234,
    "c": 0.1224,
    "h": 320.6
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#985EA4
secondary
#A5BE9F
accent
#C46474
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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