#985DE2#985DE2

#985DE2 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.196 H 301.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#985DE2
RGBrgb(152, 93, 226)
HSLhsl(267, 70%, 63%)
HSVhsv(267, 59%, 89%)
CMYKcmyk(32.7%, 58.8%, 0%, 11.4%)
CIE-LABlab(51.83, 50.26, -59.04)
CIE-LCHlch(51.83, 77.53, 310.41°)
OKLaboklab(60.62% 0.1014 -0.1673)
OKLCHoklch(60.62% 0.196 301.2)
XYZxyz(30.5875, 19.9950, 74.1847)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DE2 #A7E25D
analogous
#5D64E2 #985DE2 #DB5DE2
triadic
#985DE2 #E2985D #5DE298
tetradic
#985DE2 #E25D64 #A7E25D #5DE2DB
square
#985DE2 #E25D64 #A7E25D #5DE2DB
split-complementary
#985DE2 #E2DB5D #64E25D
monochromatic
#5B1EA7 #7729D9 #985DE2 #B991EB #DAC5F5

Accessibility & contrast

On white

4.20
#985DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#985DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DE2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DE2#FFFFFF#000000##000000
##985DE21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#147BE6
Deuteranopia (green-blind)
#357BDF
Tritanopia (blue-blind)
#897997
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985de2;
/* rgb */ color: rgb(152, 93, 226);
/* oklch */ color: oklch(60.6% 0.196 301.2);
Tailwind
colors: {
  custom: {
    50: '#bb8dec',
    500: '#985de2',
    950: '#000000',
  },
}
SCSS
$custom: #985de2;
$custom-light: #bb8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#985de2",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 266.617,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.1956,
    "h": 301.2
  },
  "luminance": 0.19995
}

Semantic roles & 50–950 ramp

primary
#985DE2
secondary
#D0E6B5
accent
#D2147D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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