#985FC3#985FC3

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

Color values

HEX#985FC3
RGBrgb(152, 95, 195)
HSLhsl(274, 45%, 57%)
HSVhsv(274, 51%, 76%)
CMYKcmyk(22.1%, 51.3%, 0%, 23.5%)
CIE-LABlab(50.45, 41.80, -43.57)
CIE-LCHlch(50.45, 60.38, 313.81°)
OKLaboklab(59.03% 0.0977 -0.122)
OKLCHoklch(59.03% 0.156 308.7)
XYZxyz(26.8895, 18.8003, 53.8315)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FC3 #8AC35F
analogous
#665FC3 #985FC3 #C35FBC
triadic
#985FC3 #C3985F #5FC398
tetradic
#985FC3 #C3665F #8AC35F #5FBCC3
square
#985FC3 #C3665F #8AC35F #5FBCC3
split-complementary
#985FC3 #BCC35F #5FC366
monochromatic
#592E7A #7A3EA6 #985FC3 #B58CD4 #D1B8E4

Accessibility & contrast

On white

4.41
#985FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#985FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FC3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FC3#FFFFFF#000000##000000
##985FC31.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4376C6
Deuteranopia (green-blind)
#5479C0
Tritanopia (blue-blind)
#927088
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985fc3;
/* rgb */ color: rgb(152, 95, 195);
/* oklch */ color: oklch(59.0% 0.156 308.7);
Tailwind
colors: {
  custom: {
    50: '#b98ed5',
    500: '#985fc3',
    950: '#000000',
  },
}
SCSS
$custom: #985fc3;
$custom-light: #b98ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#985fc3",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 274.2,
    "s": 45.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59027,
    "c": 0.15629,
    "h": 308.7
  },
  "luminance": 0.188
}

Semantic roles & 50–950 ramp

primary
#985FC3
secondary
#BCD3AB
accent
#D5538B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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