#985BC2#985BC2

#985BC2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.162 H 309.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#985BC2
RGBrgb(152, 91, 194)
HSLhsl(276, 46%, 56%)
HSVhsv(276, 53%, 76%)
CMYKcmyk(21.6%, 53.1%, 0%, 23.9%)
CIE-LABlab(49.56, 43.75, -44.41)
CIE-LCHlch(49.56, 62.34, 314.57°)
OKLaboklab(58.35% 0.1031 -0.1244)
OKLCHoklch(58.35% 0.162 309.6)
XYZxyz(26.4257, 18.0531, 53.1210)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BC2 #85C25B
analogous
#645BC2 #985BC2 #C25BB8
triadic
#985BC2 #C2985B #5BC298
tetradic
#985BC2 #C2645B #85C25B #5BB8C2
square
#985BC2 #C2645B #85C25B #5BB8C2
split-complementary
#985BC2 #B8C25B #5BC264
monochromatic
#582C77 #793DA3 #985BC2 #B488D3 #D0B4E3

Accessibility & contrast

On white

4.55
#985BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#985BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BC2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BC2#FFFFFF#000000##000000
##985BC21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C5
Deuteranopia (green-blind)
#5177BF
Tritanopia (blue-blind)
#936D86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985bc2;
/* rgb */ color: rgb(152, 91, 194);
/* oklch */ color: oklch(58.4% 0.162 309.6);
Tailwind
colors: {
  custom: {
    50: '#b98bd5',
    500: '#985bc2',
    950: '#000000',
  },
}
SCSS
$custom: #985bc2;
$custom-light: #b98bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#985bc2",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 275.534,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5835,
    "c": 0.16157,
    "h": 309.6
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

primary
#985BC2
secondary
#B8D2A7
accent
#D55288
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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