#985CD3#985CD3

#985CD3 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.180 H 304.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#985CD3
RGBrgb(152, 92, 211)
HSLhsl(270, 57%, 59%)
HSVhsv(270, 56%, 83%)
CMYKcmyk(28%, 56.4%, 0%, 17.3%)
CIE-LABlab(50.73, 47.17, -52.30)
CIE-LCHlch(50.73, 70.43, 312.05°)
OKLaboklab(59.52% 0.1026 -0.1475)
OKLCHoklch(59.52% 0.18 304.8)
XYZxyz(28.5314, 19.0330, 63.7860)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CD3 #97D35C
analogous
#5D5CD3 #985CD3 #D35CD3
triadic
#985CD3 #D3985C #5CD398
tetradic
#985CD3 #D35D5C #97D35C #5CD3D3
square
#985CD3 #D35D5C #97D35C #5CD3D3
split-complementary
#985CD3 #D3D35C #5CD35D
monochromatic
#5B268E #7933BE #985CD3 #B68CE0 #D5BCED

Accessibility & contrast

On white

4.37
#985CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#985CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CD3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CD3#FFFFFF#000000##000000
##985CD31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D7
Deuteranopia (green-blind)
#4579D0
Tritanopia (blue-blind)
#8E738F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985cd3;
/* rgb */ color: rgb(152, 92, 211);
/* oklch */ color: oklch(59.5% 0.180 304.8);
Tailwind
colors: {
  custom: {
    50: '#ba8ce1',
    500: '#985cd3',
    950: '#000000',
  },
}
SCSS
$custom: #985cd3;
$custom-light: #ba8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#985cd3",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 270.252,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.17968,
    "h": 304.8
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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