#985BC1#985BC1

#985BC1 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.160 H 309.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#985BC1
RGBrgb(152, 91, 193)
HSLhsl(276, 45%, 56%)
HSVhsv(276, 53%, 76%)
CMYKcmyk(21.2%, 52.8%, 0%, 24.3%)
CIE-LABlab(49.51, 43.52, -43.92)
CIE-LCHlch(49.51, 61.83, 314.74°)
OKLaboklab(58.29% 0.103 -0.123)
OKLCHoklch(58.29% 0.16 309.9)
XYZxyz(26.3138, 18.0083, 52.5315)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BC1 #84C15B
analogous
#655BC1 #985BC1 #C15BB7
triadic
#985BC1 #C1985B #5BC198
tetradic
#985BC1 #C1655B #84C15B #5BB7C1
square
#985BC1 #C1655B #84C15B #5BB7C1
split-complementary
#985BC1 #B7C15B #5BC165
monochromatic
#582C75 #793DA2 #985BC1 #B487D2 #D0B4E3

Accessibility & contrast

On white

4.56
#985BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#985BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BC1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BC1#FFFFFF#000000##000000
##985BC11.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C4
Deuteranopia (green-blind)
#5277BE
Tritanopia (blue-blind)
#936D85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985bc1;
/* rgb */ color: rgb(152, 91, 193);
/* oklch */ color: oklch(58.3% 0.160 309.9);
Tailwind
colors: {
  custom: {
    50: '#b98bd4',
    500: '#985bc1',
    950: '#000000',
  },
}
SCSS
$custom: #985bc1;
$custom-light: #b98bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#985bc1",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 275.882,
    "s": 45.133,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.16042,
    "h": 309.9
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#985BC1
secondary
#B8D1A7
accent
#D55387
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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