#985CE8#985CE8

#985CE8 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.204 H 300.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#985CE8
RGBrgb(152, 92, 232)
HSLhsl(266, 75%, 64%)
HSVhsv(266, 60%, 91%)
CMYKcmyk(34.5%, 60.3%, 0%, 9%)
CIE-LABlab(52.01, 52.26, -62.12)
CIE-LCHlch(52.01, 81.18, 310.07°)
OKLaboklab(60.87% 0.1024 -0.1763)
OKLCHoklch(60.87% 0.204 300.1)
XYZxyz(31.3380, 20.1556, 78.5677)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CE8 #ACE85C
analogous
#5C66E8 #985CE8 #DE5CE8
triadic
#985CE8 #E8985C #5CE898
tetradic
#985CE8 #E85C66 #ACE85C #5CE8DE
square
#985CE8 #E85C66 #ACE85C #5CE8DE
split-complementary
#985CE8 #E8DE5C #66E85C
monochromatic
#5A19B1 #7626E0 #985CE8 #BA92F0 #DCC7F7

Accessibility & contrast

On white

4.17
#985CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#985CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CE8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CE8#FFFFFF#000000##000000
##985CE81.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#2A7BE5
Tritanopia (blue-blind)
#877A99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985ce8;
/* rgb */ color: rgb(152, 92, 232);
/* oklch */ color: oklch(60.9% 0.204 300.1);
Tailwind
colors: {
  custom: {
    50: '#bb8df0',
    500: '#985ce8',
    950: '#000000',
  },
}
SCSS
$custom: #985ce8;
$custom-light: #bb8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#985ce8",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 265.714,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.2039,
    "h": 300.1
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

primary
#985CE8
secondary
#D3E9B7
accent
#D70E81
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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