#985BDA#985BDA

#985BDA is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.8% C 0.189 H 303.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#985BDA
RGBrgb(152, 91, 218)
HSLhsl(269, 63%, 61%)
HSVhsv(269, 58%, 85%)
CMYKcmyk(30.3%, 58.3%, 0%, 14.5%)
CIE-LABlab(50.94, 49.38, -55.94)
CIE-LCHlch(50.94, 74.61, 311.44°)
OKLaboklab(59.81% 0.1039 -0.1582)
OKLCHoklch(59.81% 0.189 303.3)
XYZxyz(29.3420, 19.2196, 68.4800)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BDA #9DDA5B
analogous
#5B5DDA #985BDA #D75BDA
triadic
#985BDA #DA985B #5BDA98
tetradic
#985BDA #DA5B5D #9DDA5B #5BDAD7
square
#985BDA #DA5B5D #9DDA5B #5BDAD7
split-complementary
#985BDA #DAD75B #5DDA5B
monochromatic
#5B2298 #792ECA #985BDA #B78DE5 #D7BFF1

Accessibility & contrast

On white

4.34
#985BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#985BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BDA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BDA#FFFFFF#000000##000000
##985BDA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2078DE
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#8C7492
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985bda;
/* rgb */ color: rgb(152, 91, 218);
/* oklch */ color: oklch(59.8% 0.189 303.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ce6',
    500: '#985bda',
    950: '#000000',
  },
}
SCSS
$custom: #985bda;
$custom-light: #ba8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#985bda",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 268.819,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59812,
    "c": 0.18924,
    "h": 303.3
  },
  "luminance": 0.1922
}

Semantic roles & 50–950 ramp

primary
#985BDA
secondary
#C9E1B0
accent
#CB1B76
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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