#9A2DBC#9A2DBC

#9A2DBC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.219 H 316.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9A2DBC
RGBrgb(154, 45, 188)
HSLhsl(286, 61%, 46%)
HSVhsv(286, 76%, 74%)
CMYKcmyk(18.1%, 76.1%, 0%, 26.3%)
CIE-LABlab(41.81, 63.92, -53.30)
CIE-LCHlch(41.81, 83.23, 320.17°)
OKLaboklab(52.69% 0.1588 -0.1501)
OKLCHoklch(52.69% 0.219 316.6)
XYZxyz(23.3405, 12.3786, 48.7270)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DBC #4FBC2D
analogous
#522DBC #9A2DBC #BC2D96
triadic
#9A2DBC #BC9A2D #2DBC9A
tetradic
#9A2DBC #BC522D #4FBC2D #2D96BC
square
#9A2DBC #BC522D #4FBC2D #2D96BC
split-complementary
#9A2DBC #96BC2D #2DBC52
monochromatic
#491559 #72218B #9A2DBC #B651D5 #CB82E1

Accessibility & contrast

On white

6.04
#9A2DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9A2DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DBC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DBC#FFFFFF#000000##FFFFFF
##9A2DBC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#984D73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2dbc;
/* rgb */ color: rgb(154, 45, 188);
/* oklch */ color: oklch(52.7% 0.219 316.6);
Tailwind
colors: {
  custom: {
    50: '#bc72d1',
    500: '#9a2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dbc;
$custom-light: #bc72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dbc",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 285.734,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.21852,
    "h": 316.6
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#9A2DBC
secondary
#8ECA7B
accent
#E4436A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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