#985CD4#985CD4

#985CD4 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.181 H 304.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#985CD4
RGBrgb(152, 92, 212)
HSLhsl(270, 58%, 60%)
HSVhsv(270, 57%, 83%)
CMYKcmyk(28.3%, 56.6%, 0%, 16.9%)
CIE-LABlab(50.78, 47.41, -52.78)
CIE-LCHlch(50.78, 70.95, 311.93°)
OKLaboklab(59.58% 0.1026 -0.1489)
OKLCHoklch(59.58% 0.181 304.6)
XYZxyz(28.6571, 19.0833, 64.4483)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CD4 #98D45C
analogous
#5C5CD4 #985CD4 #D45CD4
triadic
#985CD4 #D4985C #5CD498
tetradic
#985CD4 #D45C5C #98D45C #5CD4D4
square
#985CD4 #D45C5C #98D45C #5CD4D4
split-complementary
#985CD4 #D4D45C #5CD45C
monochromatic
#5B2690 #7933C0 #985CD4 #B78CE1 #D5BDEE

Accessibility & contrast

On white

4.36
#985CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#985CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CD4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CD4#FFFFFF#000000##000000
##985CD41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C77D8
Deuteranopia (green-blind)
#4479D1
Tritanopia (blue-blind)
#8D738F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985cd4;
/* rgb */ color: rgb(152, 92, 212);
/* oklch */ color: oklch(59.6% 0.181 304.6);
Tailwind
colors: {
  custom: {
    50: '#ba8ce2',
    500: '#985cd4',
    950: '#000000',
  },
}
SCSS
$custom: #985cd4;
$custom-light: #ba8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#985cd4",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 270,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5958,
    "c": 0.18084,
    "h": 304.6
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#985CD4
secondary
#C6DDAF
accent
#E14694
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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