#985DE0#985DE0

#985DE0 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.193 H 301.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#985DE0
RGBrgb(152, 93, 224)
HSLhsl(267, 68%, 62%)
HSVhsv(267, 58%, 88%)
CMYKcmyk(32.1%, 58.5%, 0%, 12.2%)
CIE-LABlab(51.71, 49.77, -58.11)
CIE-LCHlch(51.71, 76.51, 310.58°)
OKLaboklab(60.49% 0.1014 -0.1645)
OKLCHoklch(60.49% 0.193 301.6)
XYZxyz(30.3146, 19.8858, 72.7478)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DE0 #A5E05D
analogous
#5D64E0 #985DE0 #DA5DE0
triadic
#985DE0 #E0985D #5DE098
tetradic
#985DE0 #E05D64 #A5E05D #5DE0DA
square
#985DE0 #E05D64 #A5E05D #5DE0DA
split-complementary
#985DE0 #E0DA5D #64E05D
monochromatic
#5B1FA3 #772AD6 #985DE0 #B990EA #D9C4F4

Accessibility & contrast

On white

4.22
#985DE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#985DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DE0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DE0#FFFFFF#000000##000000
##985DE01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7AE4
Deuteranopia (green-blind)
#387BDD
Tritanopia (blue-blind)
#8A7896
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985de0;
/* rgb */ color: rgb(152, 93, 224);
/* oklch */ color: oklch(60.5% 0.193 301.6);
Tailwind
colors: {
  custom: {
    50: '#ba8dea',
    500: '#985de0',
    950: '#000000',
  },
}
SCSS
$custom: #985de0;
$custom-light: #ba8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#985de0",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 224
  },
  "hsl": {
    "h": 267.023,
    "s": 67.876,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.19328,
    "h": 301.6
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#985DE0
secondary
#CFE4B4
accent
#D0167C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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