#9A2DBF#9A2DBF

#9A2DBF is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.221 H 315.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9A2DBF
RGBrgb(154, 45, 191)
HSLhsl(285, 62%, 46%)
HSVhsv(285, 76%, 75%)
CMYKcmyk(19.4%, 76.4%, 0%, 25.1%)
CIE-LABlab(42.01, 64.50, -54.73)
CIE-LCHlch(42.01, 84.59, 319.68°)
OKLaboklab(52.89% 0.1583 -0.1543)
OKLCHoklch(52.89% 0.221 315.7)
XYZxyz(23.6673, 12.5093, 50.4480)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DBF #52BF2D
analogous
#512DBF #9A2DBF #BF2D9B
triadic
#9A2DBF #BF9A2D #2DBF9A
tetradic
#9A2DBF #BF512D #52BF2D #2D9BBF
square
#9A2DBF #BF512D #52BF2D #2D9BBF
split-complementary
#9A2DBF #9BBF2D #2DBF51
monochromatic
#4A165C #72218D #9A2DBF #B553D6 #CA84E2

Accessibility & contrast

On white

6.00
#9A2DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9A2DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DBF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DBF#FFFFFF#000000##FFFFFF
##9A2DBF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#2966BC
Tritanopia (blue-blind)
#974E75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2dbf;
/* rgb */ color: rgb(154, 45, 191);
/* oklch */ color: oklch(52.9% 0.221 315.7);
Tailwind
colors: {
  custom: {
    50: '#bc72d3',
    500: '#9a2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dbf;
$custom-light: #bc72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dbf",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 284.795,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.22112,
    "h": 315.7
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#9A2DBF
secondary
#90CB7C
accent
#E5436C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

#9A2DBF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva