#985EE4#985EE4

#985EE4 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.9% C 0.197 H 300.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#985EE4
RGBrgb(152, 94, 228)
HSLhsl(266, 71%, 63%)
HSVhsv(266, 59%, 89%)
CMYKcmyk(33.3%, 58.8%, 0%, 10.6%)
CIE-LABlab(52.15, 50.23, -59.64)
CIE-LCHlch(52.15, 77.97, 310.10°)
OKLaboklab(60.89% 0.1001 -0.1691)
OKLCHoklch(60.89% 0.197 300.6)
XYZxyz(30.9518, 20.2821, 75.6679)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EE4 #AAE45E
analogous
#5E67E4 #985EE4 #DB5EE4
triadic
#985EE4 #E4985E #5EE498
tetradic
#985EE4 #E45E67 #AAE45E #5EE4DB
square
#985EE4 #E45E67 #AAE45E #5EE4DB
split-complementary
#985EE4 #E4DB5E #67E45E
monochromatic
#5A1DAB #762ADB #985EE4 #BA92ED #DBC7F6

Accessibility & contrast

On white

4.15
#985EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#985EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EE4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EE4#FFFFFF#000000##000000
##985EE41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#137CE8
Deuteranopia (green-blind)
#347CE1
Tritanopia (blue-blind)
#887A98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985ee4;
/* rgb */ color: rgb(152, 94, 228);
/* oklch */ color: oklch(60.9% 0.197 300.6);
Tailwind
colors: {
  custom: {
    50: '#bb8eed',
    500: '#985ee4',
    950: '#000000',
  },
}
SCSS
$custom: #985ee4;
$custom-light: #bb8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#985ee4",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 265.97,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60894,
    "c": 0.1965,
    "h": 300.6
  },
  "luminance": 0.20282
}

Semantic roles & 50–950 ramp

primary
#985EE4
secondary
#D2E7B7
accent
#D31280
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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