#985FC1#985FC1

#985FC1 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.154 H 309.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#985FC1
RGBrgb(152, 95, 193)
HSLhsl(275, 44%, 56%)
HSVhsv(275, 51%, 76%)
CMYKcmyk(21.2%, 50.8%, 0%, 24.3%)
CIE-LABlab(50.35, 41.34, -42.59)
CIE-LCHlch(50.35, 59.35, 314.15°)
OKLaboklab(58.91% 0.0975 -0.1191)
OKLCHoklch(58.91% 0.154 309.3)
XYZxyz(26.6649, 18.7105, 52.6485)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FC1 #88C15F
analogous
#675FC1 #985FC1 #C15FB9
triadic
#985FC1 #C1985F #5FC198
tetradic
#985FC1 #C1675F #88C15F #5FB9C1
square
#985FC1 #C1675F #88C15F #5FB9C1
split-complementary
#985FC1 #B9C15F #5FC167
monochromatic
#592E77 #7A3FA3 #985FC1 #B48BD2 #D1B7E3

Accessibility & contrast

On white

4.43
#985FC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#985FC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FC1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FC1#FFFFFF#000000##000000
##985FC11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4575C4
Deuteranopia (green-blind)
#5679BE
Tritanopia (blue-blind)
#937087
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985fc1;
/* rgb */ color: rgb(152, 95, 193);
/* oklch */ color: oklch(58.9% 0.154 309.3);
Tailwind
colors: {
  custom: {
    50: '#b88ed4',
    500: '#985fc1',
    950: '#000000',
  },
}
SCSS
$custom: #985fc1;
$custom-light: #b88ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#985fc1",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 193
  },
  "hsl": {
    "h": 274.898,
    "s": 44.144,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.15394,
    "h": 309.3
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#985FC1
secondary
#BBD2AA
accent
#D45489
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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