#985FBD#985FBD

#985FBD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.7% C 0.149 H 310.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#985FBD
RGBrgb(152, 95, 189)
HSLhsl(276, 42%, 56%)
HSVhsv(276, 50%, 74%)
CMYKcmyk(19.6%, 49.7%, 0%, 25.9%)
CIE-LABlab(50.14, 40.43, -40.61)
CIE-LCHlch(50.14, 57.30, 314.87°)
OKLaboklab(58.69% 0.0971 -0.1134)
OKLCHoklch(58.69% 0.149 310.6)
XYZxyz(26.2247, 18.5344, 50.3302)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FBD #84BD5F
analogous
#695FBD #985FBD #BD5FB3
triadic
#985FBD #BD985F #5FBD98
tetradic
#985FBD #BD695F #84BD5F #5FB3BD
square
#985FBD #BD695F #84BD5F #5FB3BD
split-complementary
#985FBD #B3BD5F #5FBD69
monochromatic
#582F72 #79419E #985FBD #B48ACF #D0B6E1

Accessibility & contrast

On white

4.46
#985FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#985FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FBD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FBD#FFFFFF#000000##000000
##985FBD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#5878BB
Tritanopia (blue-blind)
#946E85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985fbd;
/* rgb */ color: rgb(152, 95, 189);
/* oklch */ color: oklch(58.7% 0.149 310.6);
Tailwind
colors: {
  custom: {
    50: '#b88ed1',
    500: '#985fbd',
    950: '#000000',
  },
}
SCSS
$custom: #985fbd;
$custom-light: #b88ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#985fbd",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 276.383,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58691,
    "c": 0.14925,
    "h": 310.6
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#985FBD
secondary
#B8CFA8
accent
#D15687
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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