#9A2EBD#9A2EBD

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

Color values

HEX#9A2EBD
RGBrgb(154, 46, 189)
HSLhsl(285, 61%, 46%)
HSVhsv(285, 76%, 74%)
CMYKcmyk(18.5%, 75.7%, 0%, 25.9%)
CIE-LABlab(42.00, 63.77, -53.59)
CIE-LCHlch(42.00, 83.30, 319.96°)
OKLaboklab(52.84% 0.1578 -0.151)
OKLCHoklch(52.84% 0.218 316.3)
XYZxyz(23.4873, 12.4991, 49.3096)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EBD #51BD2E
analogous
#532EBD #9A2EBD #BD2E98
triadic
#9A2EBD #BD9A2E #2EBD9A
tetradic
#9A2EBD #BD532E #51BD2E #2E98BD
square
#9A2EBD #BD532E #51BD2E #2E98BD
split-complementary
#9A2EBD #98BD2E #2EBD53
monochromatic
#4A165B #72228C #9A2EBD #B553D5 #CA84E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2EBD#FFFFFF#000000##FFFFFF
##9A2EBD1.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)
#005DC1
Deuteranopia (green-blind)
#2D66BA
Tritanopia (blue-blind)
#984E74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2ebd;
/* rgb */ color: rgb(154, 46, 189);
/* oklch */ color: oklch(52.8% 0.218 316.3);
Tailwind
colors: {
  custom: {
    50: '#bc72d2',
    500: '#9a2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ebd;
$custom-light: #bc72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ebd",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 285.315,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.21836,
    "h": 316.3
  },
  "luminance": 0.12498
}

Semantic roles & 50–950 ramp

primary
#9A2EBD
secondary
#8FCA7C
accent
#E4446B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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