#985EA2#985EA2

#985EA2 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.1% C 0.120 H 321.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#985EA2
RGBrgb(152, 94, 162)
HSLhsl(291, 27%, 50%)
HSVhsv(291, 42%, 64%)
CMYKcmyk(6.2%, 42%, 0%, 36.5%)
CIE-LABlab(48.62, 35.15, -27.23)
CIE-LCHlch(48.62, 44.46, 322.23°)
OKLaboklab(57.14% 0.0941 -0.0748)
OKLCHoklch(57.14% 0.12 321.5)
XYZxyz(23.4724, 17.2903, 36.2763)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EA2 #68A25E
analogous
#765EA2 #985EA2 #A25E8A
triadic
#985EA2 #A2985E #5EA298
tetradic
#985EA2 #A2765E #68A25E #5E8AA2
square
#985EA2 #A2765E #68A25E #5E8AA2
split-complementary
#985EA2 #8AA25E #5EA276
monochromatic
#4F3155 #74477B #985EA2 #B185B8 #CAACCF

Accessibility & contrast

On white

4.71
#985EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#985EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985EA2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EA2#FFFFFF#000000##FFFFFF
##985EA21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#6576A0
Tritanopia (blue-blind)
#9A6678
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985ea2;
/* rgb */ color: rgb(152, 94, 162);
/* oklch */ color: oklch(57.1% 0.120 321.5);
Tailwind
colors: {
  custom: {
    50: '#b78dbd',
    500: '#985ea2',
    950: '#000000',
  },
}
SCSS
$custom: #985ea2;
$custom-light: #b78dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#985ea2",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 291.176,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.12021,
    "h": 321.5
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#985EA2
secondary
#A3BD9F
accent
#C36573
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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