#985BD4#985BD4

#985BD4 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.182 H 304.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#985BD4
RGBrgb(152, 91, 212)
HSLhsl(270, 58%, 59%)
HSVhsv(270, 57%, 83%)
CMYKcmyk(28.3%, 57.1%, 0%, 16.9%)
CIE-LABlab(50.58, 47.94, -53.10)
CIE-LCHlch(50.58, 71.54, 312.08°)
OKLaboklab(59.43% 0.1039 -0.1499)
OKLCHoklch(59.43% 0.182 304.7)
XYZxyz(28.5711, 18.9112, 64.4196)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BD4 #97D45B
analogous
#5C5BD4 #985BD4 #D45BD4
triadic
#985BD4 #D4985B #5BD498
tetradic
#985BD4 #D45C5B #97D45B #5BD4D4
square
#985BD4 #D45C5B #97D45B #5BD4D4
split-complementary
#985BD4 #D4D45B #5BD45C
monochromatic
#5B268F #7932C0 #985BD4 #B68BE1 #D5BCED

Accessibility & contrast

On white

4.39
#985BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#985BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BD4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BD4#FFFFFF#000000##000000
##985BD41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A77D8
Deuteranopia (green-blind)
#4279D1
Tritanopia (blue-blind)
#8E738F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985bd4;
/* rgb */ color: rgb(152, 91, 212);
/* oklch */ color: oklch(59.4% 0.182 304.7);
Tailwind
colors: {
  custom: {
    50: '#ba8ce2',
    500: '#985bd4',
    950: '#000000',
  },
}
SCSS
$custom: #985bd4;
$custom-light: #ba8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#985bd4",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 270.248,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.18233,
    "h": 304.7
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#985BD4
secondary
#C5DDAE
accent
#E24693
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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