#9A2EBE#9A2EBE

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

Color values

HEX#9A2EBE
RGBrgb(154, 46, 190)
HSLhsl(285, 61%, 46%)
HSVhsv(285, 76%, 75%)
CMYKcmyk(18.9%, 75.8%, 0%, 25.5%)
CIE-LABlab(42.07, 63.96, -54.07)
CIE-LCHlch(42.07, 83.75, 319.79°)
OKLaboklab(52.91% 0.1576 -0.1524)
OKLCHoklch(52.91% 0.219 316)
XYZxyz(23.5962, 12.5427, 49.8832)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EBE #52BE2E
analogous
#522EBE #9A2EBE #BE2E9A
triadic
#9A2EBE #BE9A2E #2EBE9A
tetradic
#9A2EBE #BE522E #52BE2E #2E9ABE
square
#9A2EBE #BE522E #52BE2E #2E9ABE
split-complementary
#9A2EBE #9ABE2E #2EBE52
monochromatic
#4A165B #72228D #9A2EBE #B554D6 #CA85E1

Accessibility & contrast

On white

5.99
#9A2EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9A2EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EBE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EBE#FFFFFF#000000##FFFFFF
##9A2EBE1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2ebe;
/* rgb */ color: rgb(154, 46, 190);
/* oklch */ color: oklch(52.9% 0.219 316.0);
Tailwind
colors: {
  custom: {
    50: '#bc72d2',
    500: '#9a2ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ebe;
$custom-light: #bc72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ebe",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 285,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.21924,
    "h": 316
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

primary
#9A2EBE
secondary
#90CB7D
accent
#E4446C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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