#985EED#985EED

#985EED is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.5% C 0.207 H 298.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#985EED
RGBrgb(152, 94, 237)
HSLhsl(264, 80%, 65%)
HSVhsv(264, 60%, 93%)
CMYKcmyk(35.9%, 60.3%, 0%, 7.1%)
CIE-LABlab(52.72, 52.46, -63.78)
CIE-LCHlch(52.72, 82.58, 309.43°)
OKLaboklab(61.49% 0.0999 -0.1812)
OKLCHoklch(61.49% 0.207 298.9)
XYZxyz(32.2339, 20.7949, 82.4199)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EED #B3ED5E
analogous
#5E6BED #985EED #E05EED
triadic
#985EED #ED985E #5EED98
tetradic
#985EED #ED5E6B #B3ED5E #5EEDE0
square
#985EED #ED5E6B #B3ED5E #5EEDE0
split-complementary
#985EED #EDE05E #6BED5E
monochromatic
#5915BC #7527E7 #985EED #BB95F3 #DECCF9

Accessibility & contrast

On white

4.07
#985EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#985EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EED
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EED#FFFFFF#000000##000000
##985EED1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#257DEA
Tritanopia (blue-blind)
#857D9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985eed;
/* rgb */ color: rgb(152, 94, 237);
/* oklch */ color: oklch(61.5% 0.207 298.9);
Tailwind
colors: {
  custom: {
    50: '#bb8ef4',
    500: '#985eed',
    950: '#000000',
  },
}
SCSS
$custom: #985eed;
$custom-light: #bb8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#985eed",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 264.336,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61491,
    "c": 0.20692,
    "h": 298.9
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

primary
#985EED
secondary
#D8ECBB
accent
#DC0987
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #985EED

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

Preview Lab → · Contrast checker → · Palette generator →

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