#985DBF#985DBF

#985DBF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.155 H 310.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#985DBF
RGBrgb(152, 93, 191)
HSLhsl(276, 43%, 56%)
HSVhsv(276, 51%, 75%)
CMYKcmyk(20.4%, 51.3%, 0%, 25.1%)
CIE-LABlab(49.82, 41.98, -42.27)
CIE-LCHlch(49.82, 59.58, 314.80°)
OKLaboklab(58.49% 0.1001 -0.1182)
OKLCHoklch(58.49% 0.155 310.2)
XYZxyz(26.2655, 18.2662, 51.4222)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DBF #84BF5D
analogous
#675DBF #985DBF #BF5DB5
triadic
#985DBF #BF985D #5DBF98
tetradic
#985DBF #BF675D #84BF5D #5DB5BF
square
#985DBF #BF675D #84BF5D #5DB5BF
split-complementary
#985DBF #B5BF5D #5DBF67
monochromatic
#582E74 #793FA0 #985DBF #B489D0 #D0B5E2

Accessibility & contrast

On white

4.51
#985DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#985DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DBF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DBF#FFFFFF#000000##000000
##985DBF1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#5578BC
Tritanopia (blue-blind)
#936D85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985dbf;
/* rgb */ color: rgb(152, 93, 191);
/* oklch */ color: oklch(58.5% 0.155 310.2);
Tailwind
colors: {
  custom: {
    50: '#b88dd3',
    500: '#985dbf',
    950: '#000000',
  },
}
SCSS
$custom: #985dbf;
$custom-light: #b88dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#985dbf",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 276.122,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.15487,
    "h": 310.2
  },
  "luminance": 0.18266
}

Semantic roles & 50–950 ramp

primary
#985DBF
secondary
#B8D0A8
accent
#D35587
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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