#985FC8#985FC8

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

Color values

HEX#985FC8
RGBrgb(152, 95, 200)
HSLhsl(273, 49%, 58%)
HSVhsv(273, 53%, 78%)
CMYKcmyk(24%, 52.5%, 0%, 21.6%)
CIE-LABlab(50.72, 42.96, -46.02)
CIE-LCHlch(50.72, 62.95, 313.03°)
OKLaboklab(59.31% 0.0981 -0.1291)
OKLCHoklch(59.31% 0.162 307.2)
XYZxyz(27.4643, 19.0302, 56.8587)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FC8 #8FC85F
analogous
#635FC8 #985FC8 #C85FC4
triadic
#985FC8 #C8985F #5FC898
tetradic
#985FC8 #C8635F #8FC85F #5FC4C8
square
#985FC8 #C8635F #8FC85F #5FC4C8
split-complementary
#985FC8 #C4C85F #5FC863
monochromatic
#5A2C80 #7A3CAE #985FC8 #B58DD8 #D3BAE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985FC8#FFFFFF#000000##000000
##985FC81.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)
#3F77CC
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#91728A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985fc8;
/* rgb */ color: rgb(152, 95, 200);
/* oklch */ color: oklch(59.3% 0.162 307.2);
Tailwind
colors: {
  custom: {
    50: '#b98ed9',
    500: '#985fc8',
    950: '#000000',
  },
}
SCSS
$custom: #985fc8;
$custom-light: #b98ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#985fc8",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 272.571,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59314,
    "c": 0.16219,
    "h": 307.2
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

primary
#985FC8
secondary
#C0D6AC
accent
#D84F8E
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #985FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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