#985EC3#985EC3

#985EC3 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.158 H 308.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#985EC3
RGBrgb(152, 94, 195)
HSLhsl(274, 46%, 57%)
HSVhsv(274, 52%, 76%)
CMYKcmyk(22.1%, 51.8%, 0%, 23.5%)
CIE-LABlab(50.24, 42.35, -43.91)
CIE-LCHlch(50.24, 61.00, 313.96°)
OKLaboklab(58.87% 0.0991 -0.123)
OKLCHoklch(58.87% 0.158 308.8)
XYZxyz(26.8000, 18.6213, 53.8016)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EC3 #89C35E
analogous
#665EC3 #985EC3 #C35EBC
triadic
#985EC3 #C3985E #5EC398
tetradic
#985EC3 #C3665E #89C35E #5EBCC3
square
#985EC3 #C3665E #89C35E #5EBCC3
split-complementary
#985EC3 #BCC35E #5EC366
monochromatic
#592D79 #7A3EA6 #985EC3 #B58BD4 #D1B7E4

Accessibility & contrast

On white

4.45
#985EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#985EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EC3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EC3#FFFFFF#000000##000000
##985EC31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#5378C0
Tritanopia (blue-blind)
#926F88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ec3;
/* rgb */ color: rgb(152, 94, 195);
/* oklch */ color: oklch(58.9% 0.158 308.8);
Tailwind
colors: {
  custom: {
    50: '#b98dd5',
    500: '#985ec3',
    950: '#000000',
  },
}
SCSS
$custom: #985ec3;
$custom-light: #b98dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#985ec3",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 274.455,
    "s": 45.701,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58871,
    "c": 0.15792,
    "h": 308.8
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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