#985DE3#985DE3

#985DE3 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.7% C 0.197 H 301.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#985DE3
RGBrgb(152, 93, 227)
HSLhsl(266, 71%, 63%)
HSVhsv(266, 59%, 89%)
CMYKcmyk(33%, 59%, 0%, 11%)
CIE-LABlab(51.89, 50.51, -59.50)
CIE-LCHlch(51.89, 78.05, 310.33°)
OKLaboklab(60.68% 0.1014 -0.1686)
OKLCHoklch(60.68% 0.197 301)
XYZxyz(30.7251, 20.0500, 74.9095)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DE3 #A8E35D
analogous
#5D65E3 #985DE3 #DB5DE3
triadic
#985DE3 #E3985D #5DE398
tetradic
#985DE3 #E35D65 #A8E35D #5DE3DB
square
#985DE3 #E35D65 #A8E35D #5DE3DB
split-complementary
#985DE3 #E3DB5D #65E35D
monochromatic
#5A1DA8 #7729DA #985DE3 #B991EC #DAC5F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985DE3#FFFFFF#000000##000000
##985DE31.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)
#117BE7
Deuteranopia (green-blind)
#347BE0
Tritanopia (blue-blind)
#897997
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985de3;
/* rgb */ color: rgb(152, 93, 227);
/* oklch */ color: oklch(60.7% 0.197 301.0);
Tailwind
colors: {
  custom: {
    50: '#bb8dec',
    500: '#985de3',
    950: '#000000',
  },
}
SCSS
$custom: #985de3;
$custom-light: #bb8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#985de3",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 266.418,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60683,
    "c": 0.19676,
    "h": 301
  },
  "luminance": 0.2005
}

Semantic roles & 50–950 ramp

primary
#985DE3
secondary
#D1E6B6
accent
#D3137E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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