#985EBB#985EBB

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

Color values

HEX#985EBB
RGBrgb(152, 94, 187)
HSLhsl(277, 41%, 55%)
HSVhsv(277, 50%, 73%)
CMYKcmyk(18.7%, 49.7%, 0%, 26.7%)
CIE-LABlab(49.82, 40.53, -39.95)
CIE-LCHlch(49.82, 56.91, 315.41°)
OKLaboklab(58.42% 0.0982 -0.1115)
OKLCHoklch(58.42% 0.149 311.4)
XYZxyz(25.9196, 18.2692, 49.1650)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EBB #81BB5E
analogous
#695EBB #985EBB #BB5EB0
triadic
#985EBB #BB985E #5EBB98
tetradic
#985EBB #BB695E #81BB5E #5EB0BB
square
#985EBB #BB695E #81BB5E #5EB0BB
split-complementary
#985EBB #B0BB5E #5EBB69
monochromatic
#572F70 #79419B #985EBB #B489CD #CFB4DF

Accessibility & contrast

On white

4.51
#985EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#985EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EBB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EBB#FFFFFF#000000##000000
##985EBB1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774BE
Deuteranopia (green-blind)
#5878B9
Tritanopia (blue-blind)
#946D84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985ebb;
/* rgb */ color: rgb(152, 94, 187);
/* oklch */ color: oklch(58.4% 0.149 311.4);
Tailwind
colors: {
  custom: {
    50: '#b88dd0',
    500: '#985ebb',
    950: '#000000',
  },
}
SCSS
$custom: #985ebb;
$custom-light: #b88dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#985ebb",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 277.419,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.14858,
    "h": 311.4
  },
  "luminance": 0.18269
}

Semantic roles & 50–950 ramp

primary
#985EBB
secondary
#B6CEA7
accent
#D05785
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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