#985EB8#985EB8

#985EB8 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.145 H 312.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#985EB8
RGBrgb(152, 94, 184)
HSLhsl(279, 39%, 55%)
HSVhsv(279, 49%, 72%)
CMYKcmyk(17.4%, 48.9%, 0%, 27.8%)
CIE-LABlab(49.67, 39.86, -38.45)
CIE-LCHlch(49.67, 55.38, 316.03°)
OKLaboklab(58.26% 0.0979 -0.1071)
OKLCHoklch(58.26% 0.145 312.4)
XYZxyz(25.6018, 18.1421, 47.4912)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EB8 #7EB85E
analogous
#6B5EB8 #985EB8 #B85EAB
triadic
#985EB8 #B8985E #5EB898
tetradic
#985EB8 #B86B5E #7EB85E #5EABB8
square
#985EB8 #B86B5E #7EB85E #5EABB8
split-complementary
#985EB8 #ABB85E #5EB86B
monochromatic
#57306C #794296 #985EB8 #B388CB #CEB3DD

Accessibility & contrast

On white

4.54
#985EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#985EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EB8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EB8#FFFFFF#000000##000000
##985EB81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#5A77B6
Tritanopia (blue-blind)
#956C82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985eb8;
/* rgb */ color: rgb(152, 94, 184);
/* oklch */ color: oklch(58.3% 0.145 312.4);
Tailwind
colors: {
  custom: {
    50: '#b88dce',
    500: '#985eb8',
    950: '#000000',
  },
}
SCSS
$custom: #985eb8;
$custom-light: #b88dce;
$custom-dark: #000000;
JSON
{
  "hex": "#985eb8",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 278.667,
    "s": 38.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58259,
    "c": 0.14509,
    "h": 312.4
  },
  "luminance": 0.18141
}

Semantic roles & 50–950 ramp

primary
#985EB8
secondary
#B3CCA6
accent
#CF5983
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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