#985FC2#985FC2

#985FC2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.0% C 0.155 H 309.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#985FC2
RGBrgb(152, 95, 194)
HSLhsl(275, 45%, 57%)
HSVhsv(275, 51%, 76%)
CMYKcmyk(21.6%, 51%, 0%, 23.9%)
CIE-LABlab(50.40, 41.57, -43.08)
CIE-LCHlch(50.40, 59.87, 313.98°)
OKLaboklab(58.97% 0.0976 -0.1206)
OKLCHoklch(58.97% 0.155 309)
XYZxyz(26.7768, 18.7553, 53.2380)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FC2 #89C25F
analogous
#675FC2 #985FC2 #C25FBB
triadic
#985FC2 #C2985F #5FC298
tetradic
#985FC2 #C2675F #89C25F #5FBBC2
square
#985FC2 #C2675F #89C25F #5FBBC2
split-complementary
#985FC2 #BBC25F #5FC267
monochromatic
#592E79 #7A3FA5 #985FC2 #B58BD3 #D1B8E4

Accessibility & contrast

On white

4.42
#985FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#985FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FC2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FC2#FFFFFF#000000##000000
##985FC21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4475C5
Deuteranopia (green-blind)
#5579BF
Tritanopia (blue-blind)
#927088
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985fc2;
/* rgb */ color: rgb(152, 95, 194);
/* oklch */ color: oklch(59.0% 0.155 309.0);
Tailwind
colors: {
  custom: {
    50: '#b88ed5',
    500: '#985fc2',
    950: '#000000',
  },
}
SCSS
$custom: #985fc2;
$custom-light: #b88ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#985fc2",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 274.545,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.15512,
    "h": 309
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

primary
#985FC2
secondary
#BBD3AA
accent
#D4538A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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