#9A2DBE#9A2DBE

#9A2DBE is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.220 H 316.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9A2DBE
RGBrgb(154, 45, 190)
HSLhsl(285, 62%, 46%)
HSVhsv(285, 76%, 75%)
CMYKcmyk(18.9%, 76.3%, 0%, 25.5%)
CIE-LABlab(41.95, 64.31, -54.26)
CIE-LCHlch(41.95, 84.14, 319.84°)
OKLaboklab(52.82% 0.1585 -0.1529)
OKLCHoklch(52.82% 0.22 316)
XYZxyz(23.5576, 12.4654, 49.8704)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DBE #51BE2D
analogous
#512DBE #9A2DBE #BE2D99
triadic
#9A2DBE #BE9A2D #2DBE9A
tetradic
#9A2DBE #BE512D #51BE2D #2D99BE
square
#9A2DBE #BE512D #51BE2D #2D99BE
split-complementary
#9A2DBE #99BE2D #2DBE51
monochromatic
#4A165B #72218D #9A2DBE #B552D6 #CA84E2

Accessibility & contrast

On white

6.01
#9A2DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9A2DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DBE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DBE#FFFFFF#000000##FFFFFF
##9A2DBE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#2B66BB
Tritanopia (blue-blind)
#974D74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2dbe;
/* rgb */ color: rgb(154, 45, 190);
/* oklch */ color: oklch(52.8% 0.220 316.0);
Tailwind
colors: {
  custom: {
    50: '#bc72d2',
    500: '#9a2dbe',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dbe;
$custom-light: #bc72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dbe",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 190
  },
  "hsl": {
    "h": 285.103,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.22025,
    "h": 316
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#9A2DBE
secondary
#8FCB7C
accent
#E5436B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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