#985EB9#985EB9

#985EB9 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.146 H 312.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#985EB9
RGBrgb(152, 94, 185)
HSLhsl(278, 39%, 55%)
HSVhsv(278, 49%, 73%)
CMYKcmyk(17.8%, 49.2%, 0%, 27.5%)
CIE-LABlab(49.72, 40.08, -38.95)
CIE-LCHlch(49.72, 55.89, 315.82°)
OKLaboklab(58.31% 0.098 -0.1086)
OKLCHoklch(58.31% 0.146 312.1)
XYZxyz(25.7070, 18.1841, 48.0452)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EB9 #7FB95E
analogous
#6B5EB9 #985EB9 #B95EAC
triadic
#985EB9 #B9985E #5EB998
tetradic
#985EB9 #B96B5E #7FB95E #5EACB9
square
#985EB9 #B96B5E #7FB95E #5EACB9
split-complementary
#985EB9 #ACB95E #5EB96B
monochromatic
#572F6D #794298 #985EB9 #B389CC #CFB3DE

Accessibility & contrast

On white

4.53
#985EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#985EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EB9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EB9#FFFFFF#000000##000000
##985EB91.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4973BC
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#956C83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985eb9;
/* rgb */ color: rgb(152, 94, 185);
/* oklch */ color: oklch(58.3% 0.146 312.1);
Tailwind
colors: {
  custom: {
    50: '#b88dce',
    500: '#985eb9',
    950: '#000000',
  },
}
SCSS
$custom: #985eb9;
$custom-light: #b88dce;
$custom-dark: #000000;
JSON
{
  "hex": "#985eb9",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 278.242,
    "s": 39.394,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58313,
    "c": 0.14626,
    "h": 312.1
  },
  "luminance": 0.18184
}

Semantic roles & 50–950 ramp

primary
#985EB9
secondary
#B4CDA6
accent
#CF5984
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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