#985CB8#985CB8

#985CB8 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.148 H 312.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#985CB8
RGBrgb(152, 92, 184)
HSLhsl(279, 39%, 54%)
HSVhsv(279, 50%, 72%)
CMYKcmyk(17.4%, 50%, 0%, 27.8%)
CIE-LABlab(49.24, 40.96, -39.13)
CIE-LCHlch(49.24, 56.64, 316.31°)
OKLaboklab(57.94% 0.1007 -0.1091)
OKLCHoklch(57.94% 0.148 312.7)
XYZxyz(25.4263, 17.7910, 47.4327)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CB8 #7CB85C
analogous
#6A5CB8 #985CB8 #B85CAA
triadic
#985CB8 #B8985C #5CB898
tetradic
#985CB8 #B86A5C #7CB85C #5CAAB8
square
#985CB8 #B86A5C #7CB85C #5CAAB8
split-complementary
#985CB8 #AAB85C #5CB86A
monochromatic
#562F6B #784196 #985CB8 #B387CB #CEB1DD

Accessibility & contrast

On white

4.61
#985CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #985CB8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CB8#FFFFFF#000000##FFFFFF
##985CB81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4772BB
Deuteranopia (green-blind)
#5876B6
Tritanopia (blue-blind)
#956B81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985cb8;
/* rgb */ color: rgb(152, 92, 184);
/* oklch */ color: oklch(57.9% 0.148 312.7);
Tailwind
colors: {
  custom: {
    50: '#b88cce',
    500: '#985cb8',
    950: '#000000',
  },
}
SCSS
$custom: #985cb8;
$custom-light: #b88cce;
$custom-dark: #000000;
JSON
{
  "hex": "#985cb8",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 279.13,
    "s": 39.316,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.14844,
    "h": 312.7
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#985CB8
secondary
#B2CBA4
accent
#CF5982
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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