#985DBC#985DBC

#985DBC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.151 H 311.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#985DBC
RGBrgb(152, 93, 188)
HSLhsl(277, 41%, 55%)
HSVhsv(277, 51%, 74%)
CMYKcmyk(19.1%, 50.5%, 0%, 26.3%)
CIE-LABlab(49.66, 41.30, -40.79)
CIE-LCHlch(49.66, 58.05, 315.36°)
OKLaboklab(58.32% 0.0997 -0.1139)
OKLCHoklch(58.32% 0.151 311.2)
XYZxyz(25.9387, 18.1355, 49.7013)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DBC #81BC5D
analogous
#685DBC #985DBC #BC5DB1
triadic
#985DBC #BC985D #5DBC98
tetradic
#985DBC #BC685D #81BC5D #5DB1BC
square
#985DBC #BC685D #81BC5D #5DB1BC
split-complementary
#985DBC #B1BC5D #5DBC68
monochromatic
#572E70 #79409B #985DBC #B488CE #CFB4E0

Accessibility & contrast

On white

4.54
#985DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#985DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DBC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DBC#FFFFFF#000000##000000
##985DBC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#5777BA
Tritanopia (blue-blind)
#946D84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985dbc;
/* rgb */ color: rgb(152, 93, 188);
/* oklch */ color: oklch(58.3% 0.151 311.2);
Tailwind
colors: {
  custom: {
    50: '#b88dd0',
    500: '#985dbc',
    950: '#000000',
  },
}
SCSS
$custom: #985dbc;
$custom-light: #b88dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#985dbc",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 277.263,
    "s": 41.485,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5832,
    "c": 0.15139,
    "h": 311.2
  },
  "luminance": 0.18135
}

Semantic roles & 50–950 ramp

primary
#985DBC
secondary
#B6CEA6
accent
#D15685
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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