#985DE6#985DE6

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

Color values

HEX#985DE6
RGBrgb(152, 93, 230)
HSLhsl(266, 73%, 63%)
HSVhsv(266, 60%, 90%)
CMYKcmyk(33.9%, 59.6%, 0%, 9.8%)
CIE-LABlab(52.08, 51.25, -60.89)
CIE-LCHlch(52.08, 79.58, 310.09°)
OKLaboklab(60.88% 0.1013 -0.1727)
OKLCHoklch(60.88% 0.2 300.4)
XYZxyz(31.1427, 20.2171, 77.1091)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DE6 #ABE65D
analogous
#5D66E6 #985DE6 #DC5DE6
triadic
#985DE6 #E6985D #5DE698
tetradic
#985DE6 #E65D66 #ABE65D #5DE6DC
square
#985DE6 #E65D66 #ABE65D #5DE6DC
split-complementary
#985DE6 #E6DC5D #66E65D
monochromatic
#5A1BAE #7628DE #985DE6 #BA92EE #DBC7F6

Accessibility & contrast

On white

4.16
#985DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#985DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DE6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DE6#FFFFFF#000000##000000
##985DE61.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#037CEA
Deuteranopia (green-blind)
#307BE3
Tritanopia (blue-blind)
#887A99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985de6;
/* rgb */ color: rgb(152, 93, 230);
/* oklch */ color: oklch(60.9% 0.200 300.4);
Tailwind
colors: {
  custom: {
    50: '#bb8def',
    500: '#985de6',
    950: '#000000',
  },
}
SCSS
$custom: #985de6;
$custom-light: #bb8def;
$custom-dark: #000000;
JSON
{
  "hex": "#985de6",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 230
  },
  "hsl": {
    "h": 265.839,
    "s": 73.262,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.20022,
    "h": 300.4
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#985DE6
secondary
#D3E8B7
accent
#D51080
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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