#985EDE#985EDE

#985EDE is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.5% C 0.190 H 301.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#985EDE
RGBrgb(152, 94, 222)
HSLhsl(267, 66%, 62%)
HSVhsv(267, 58%, 87%)
CMYKcmyk(31.5%, 57.7%, 0%, 12.9%)
CIE-LABlab(51.79, 48.76, -56.85)
CIE-LCHlch(51.79, 74.89, 310.62°)
OKLaboklab(60.51% 0.1002 -0.1609)
OKLCHoklch(60.51% 0.19 301.9)
XYZxyz(30.1334, 19.9547, 71.3572)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EDE #A4DE5E
analogous
#5E64DE #985EDE #D85EDE
triadic
#985EDE #DE985E #5EDE98
tetradic
#985EDE #DE5E64 #A4DE5E #5EDED8
square
#985EDE #DE5E64 #A4DE5E #5EDED8
split-complementary
#985EDE #DED85E #64DE5E
monochromatic
#5B21A1 #782BD3 #985EDE #B891E8 #D9C4F3

Accessibility & contrast

On white

4.21
#985EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#985EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EDE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EDE#FFFFFF#000000##000000
##985EDE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#227BE2
Deuteranopia (green-blind)
#3C7BDB
Tritanopia (blue-blind)
#8A7895
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ede;
/* rgb */ color: rgb(152, 94, 222);
/* oklch */ color: oklch(60.5% 0.190 301.9);
Tailwind
colors: {
  custom: {
    50: '#ba8ee9',
    500: '#985ede',
    950: '#000000',
  },
}
SCSS
$custom: #985ede;
$custom-light: #ba8ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#985ede",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 222
  },
  "hsl": {
    "h": 267.188,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60506,
    "c": 0.18952,
    "h": 301.9
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#985EDE
secondary
#CEE4B4
accent
#CE187B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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