#985DBB#985DBB

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

Color values

HEX#985DBB
RGBrgb(152, 93, 187)
HSLhsl(278, 41%, 55%)
HSVhsv(278, 50%, 73%)
CMYKcmyk(18.7%, 50.3%, 0%, 26.7%)
CIE-LABlab(49.61, 41.08, -40.29)
CIE-LCHlch(49.61, 57.54, 315.56°)
OKLaboklab(58.27% 0.0996 -0.1124)
OKLCHoklch(58.27% 0.15 311.5)
XYZxyz(25.8313, 18.0925, 49.1355)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DBB #80BB5D
analogous
#695DBB #985DBB #BB5DAF
triadic
#985DBB #BB985D #5DBB98
tetradic
#985DBB #BB695D #80BB5D #5DAFBB
square
#985DBB #BB695D #80BB5D #5DAFBB
split-complementary
#985DBB #AFBB5D #5DBB69
monochromatic
#572F6F #79419A #985DBB #B388CD #CFB3DF

Accessibility & contrast

On white

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

On black

4.62
#985DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DBB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DBB#FFFFFF#000000##000000
##985DBB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#946C83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985dbb;
/* rgb */ color: rgb(152, 93, 187);
/* oklch */ color: oklch(58.3% 0.150 311.5);
Tailwind
colors: {
  custom: {
    50: '#b88dd0',
    500: '#985dbb',
    950: '#000000',
  },
}
SCSS
$custom: #985dbb;
$custom-light: #b88dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#985dbb",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 277.66,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58265,
    "c": 0.15024,
    "h": 311.5
  },
  "luminance": 0.18092
}

Semantic roles & 50–950 ramp

primary
#985DBB
secondary
#B5CEA6
accent
#D15784
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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