#985EBA#985EBA

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

Color values

HEX#985EBA
RGBrgb(152, 94, 186)
HSLhsl(278, 40%, 55%)
HSVhsv(278, 49%, 73%)
CMYKcmyk(18.3%, 49.5%, 0%, 27.1%)
CIE-LABlab(49.77, 40.30, -39.45)
CIE-LCHlch(49.77, 56.40, 315.61°)
OKLaboklab(58.37% 0.0981 -0.11)
OKLCHoklch(58.37% 0.147 311.7)
XYZxyz(25.8130, 18.2265, 48.6031)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EBA #80BA5E
analogous
#6A5EBA #985EBA #BA5EAE
triadic
#985EBA #BA985E #5EBA98
tetradic
#985EBA #BA6A5E #80BA5E #5EAEBA
square
#985EBA #BA6A5E #80BA5E #5EAEBA
split-complementary
#985EBA #AEBA5E #5EBA6A
monochromatic
#572F6E #794299 #985EBA #B389CC #CFB4DF

Accessibility & contrast

On white

4.52
#985EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##985EBA#FFFFFF#000000##000000
##985EBA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#946D83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985eba;
/* rgb */ color: rgb(152, 94, 186);
/* oklch */ color: oklch(58.4% 0.147 311.7);
Tailwind
colors: {
  custom: {
    50: '#b88dcf',
    500: '#985eba',
    950: '#000000',
  },
}
SCSS
$custom: #985eba;
$custom-light: #b88dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#985eba",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 277.826,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58368,
    "c": 0.14741,
    "h": 311.7
  },
  "luminance": 0.18226
}

Semantic roles & 50–950 ramp

primary
#985EBA
secondary
#B5CDA7
accent
#D05884
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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