#985CE6#985CE6

#985CE6 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.202 H 300.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#985CE6
RGBrgb(152, 92, 230)
HSLhsl(266, 73%, 63%)
HSVhsv(266, 60%, 90%)
CMYKcmyk(33.9%, 60%, 0%, 9.8%)
CIE-LABlab(51.89, 51.77, -61.20)
CIE-LCHlch(51.89, 80.16, 310.23°)
OKLaboklab(60.74% 0.1024 -0.1736)
OKLCHoklch(60.74% 0.202 300.5)
XYZxyz(31.0555, 20.0427, 77.0801)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CE6 #AAE65C
analogous
#5C65E6 #985CE6 #DD5CE6
triadic
#985CE6 #E6985C #5CE698
tetradic
#985CE6 #E65C65 #AAE65C #5CE6DD
square
#985CE6 #E65C65 #AAE65C #5CE6DD
split-complementary
#985CE6 #E6DD5C #65E65C
monochromatic
#5A1BAD #7627DE #985CE6 #BA91EE #DBC6F6

Accessibility & contrast

On white

4.19
#985CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#985CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CE6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CE6#FFFFFF#000000##000000
##985CE61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#2E7BE3
Tritanopia (blue-blind)
#887998
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985ce6;
/* rgb */ color: rgb(152, 92, 230);
/* oklch */ color: oklch(60.7% 0.202 300.5);
Tailwind
colors: {
  custom: {
    50: '#bb8def',
    500: '#985ce6',
    950: '#000000',
  },
}
SCSS
$custom: #985ce6;
$custom-light: #bb8def;
$custom-dark: #000000;
JSON
{
  "hex": "#985ce6",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 266.087,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.20161,
    "h": 300.5
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#985CE6
secondary
#D2E8B6
accent
#D61080
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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