#985FB8#985FB8

#985FB8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.143 H 312.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#985FB8
RGBrgb(152, 95, 184)
HSLhsl(278, 39%, 55%)
HSVhsv(278, 48%, 72%)
CMYKcmyk(17.4%, 48.4%, 0%, 27.8%)
CIE-LABlab(49.88, 39.31, -38.12)
CIE-LCHlch(49.88, 54.75, 315.88°)
OKLaboklab(58.42% 0.0964 -0.1061)
OKLCHoklch(58.42% 0.143 312.3)
XYZxyz(25.6913, 18.3211, 47.5210)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FB8 #7FB85F
analogous
#6C5FB8 #985FB8 #B85FAC
triadic
#985FB8 #B8985F #5FB898
tetradic
#985FB8 #B86C5F #7FB85F #5FACB8
square
#985FB8 #B86C5F #7FB85F #5FACB8
split-complementary
#985FB8 #ACB85F #5FB86C
monochromatic
#57306C #794397 #985FB8 #B389CB #CFB4DE

Accessibility & contrast

On white

4.50
#985FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#985FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FB8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FB8#FFFFFF#000000##000000
##985FB81.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BB
Deuteranopia (green-blind)
#5B78B6
Tritanopia (blue-blind)
#956D83
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985fb8;
/* rgb */ color: rgb(152, 95, 184);
/* oklch */ color: oklch(58.4% 0.143 312.3);
Tailwind
colors: {
  custom: {
    50: '#b88ecd',
    500: '#985fb8',
    950: '#000000',
  },
}
SCSS
$custom: #985fb8;
$custom-light: #b88ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#985fb8",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 278.427,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.14341,
    "h": 312.3
  },
  "luminance": 0.18321
}

Semantic roles & 50–950 ramp

primary
#985FB8
secondary
#B4CCA7
accent
#CE5983
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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