#985EBC#985EBC

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

Color values

HEX#985EBC
RGBrgb(152, 94, 188)
HSLhsl(277, 41%, 55%)
HSVhsv(277, 50%, 74%)
CMYKcmyk(19.1%, 50%, 0%, 26.3%)
CIE-LABlab(49.87, 40.75, -40.45)
CIE-LCHlch(49.87, 57.42, 315.22°)
OKLaboklab(58.48% 0.0984 -0.1129)
OKLCHoklch(58.48% 0.15 311.1)
XYZxyz(26.0271, 18.3121, 49.7307)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EBC #82BC5E
analogous
#695EBC #985EBC #BC5EB1
triadic
#985EBC #BC985E #5EBC98
tetradic
#985EBC #BC695E #82BC5E #5EB1BC
square
#985EBC #BC695E #82BC5E #5EB1BC
split-complementary
#985EBC #B1BC5E #5EBC69
monochromatic
#572F71 #79419C #985EBC #B489CE #CFB4E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985EBC#FFFFFF#000000##000000
##985EBC1.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)
#4774BF
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#946D84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985ebc;
/* rgb */ color: rgb(152, 94, 188);
/* oklch */ color: oklch(58.5% 0.150 311.1);
Tailwind
colors: {
  custom: {
    50: '#b88dd0',
    500: '#985ebc',
    950: '#000000',
  },
}
SCSS
$custom: #985ebc;
$custom-light: #b88dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#985ebc",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 277.021,
    "s": 41.228,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58478,
    "c": 0.14975,
    "h": 311.1
  },
  "luminance": 0.18312
}

Semantic roles & 50–950 ramp

primary
#985EBC
secondary
#B6CFA7
accent
#D15786
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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