#985EBE#985EBE

#985EBE is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.152 H 310.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#985EBE
RGBrgb(152, 94, 190)
HSLhsl(276, 42%, 56%)
HSVhsv(276, 51%, 75%)
CMYKcmyk(20%, 50.5%, 0%, 25.5%)
CIE-LABlab(49.98, 41.21, -41.44)
CIE-LCHlch(49.98, 58.44, 314.84°)
OKLaboklab(58.59% 0.0986 -0.1158)
OKLCHoklch(58.59% 0.152 310.4)
XYZxyz(26.2441, 18.3990, 50.8740)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EBE #84BE5E
analogous
#685EBE #985EBE #BE5EB4
triadic
#985EBE #BE985E #5EBE98
tetradic
#985EBE #BE685E #84BE5E #5EB4BE
square
#985EBE #BE685E #84BE5E #5EB4BE
split-complementary
#985EBE #B4BE5E #5EBE68
monochromatic
#582E73 #79409F #985EBE #B48AD0 #D0B5E1

Accessibility & contrast

On white

4.49
#985EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#985EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EBE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EBE#FFFFFF#000000##000000
##985EBE1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#5778BC
Tritanopia (blue-blind)
#936E85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985ebe;
/* rgb */ color: rgb(152, 94, 190);
/* oklch */ color: oklch(58.6% 0.152 310.4);
Tailwind
colors: {
  custom: {
    50: '#b88dd2',
    500: '#985ebe',
    950: '#000000',
  },
}
SCSS
$custom: #985ebe;
$custom-light: #b88dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#985ebe",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 276.25,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58589,
    "c": 0.15207,
    "h": 310.4
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#985EBE
secondary
#B8D0A8
accent
#D25687
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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