#985EB0#985EB0

#985EB0 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 57.8% C 0.136 H 315.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#985EB0
RGBrgb(152, 94, 176)
HSLhsl(282, 34%, 53%)
HSVhsv(282, 47%, 69%)
CMYKcmyk(13.6%, 46.6%, 0%, 31%)
CIE-LABlab(49.27, 38.10, -34.42)
CIE-LCHlch(49.27, 51.35, 317.90°)
OKLaboklab(57.84% 0.0967 -0.0954)
OKLCHoklch(57.84% 0.136 315.4)
XYZxyz(24.7869, 17.8161, 43.1990)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EB0 #76B05E
analogous
#6F5EB0 #985EB0 #B05E9F
triadic
#985EB0 #B0985E #5EB098
tetradic
#985EB0 #B06F5E #76B05E #5E9FB0
square
#985EB0 #B06F5E #76B05E #5E9FB0
split-complementary
#985EB0 #9FB05E #5EB06F
monochromatic
#543163 #77458C #985EB0 #B287C4 #CDB0D8

Accessibility & contrast

On white

4.60
#985EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#985EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985EB0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EB0#FFFFFF#000000##FFFFFF
##985EB01.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B3
Deuteranopia (green-blind)
#5E77AE
Tritanopia (blue-blind)
#976A7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985eb0;
/* rgb */ color: rgb(152, 94, 176);
/* oklch */ color: oklch(57.8% 0.136 315.4);
Tailwind
colors: {
  custom: {
    50: '#b88dc8',
    500: '#985eb0',
    950: '#000000',
  },
}
SCSS
$custom: #985eb0;
$custom-light: #b88dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#985eb0",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 282.439,
    "s": 34.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57835,
    "c": 0.13589,
    "h": 315.4
  },
  "luminance": 0.17815
}

Semantic roles & 50–950 ramp

primary
#985EB0
secondary
#AEC7A3
accent
#CA5E7D
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #985EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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