#9A2EB2#9A2EB2

#9A2EB2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.209 H 319.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9A2EB2
RGBrgb(154, 46, 178)
HSLhsl(289, 59%, 44%)
HSVhsv(289, 74%, 70%)
CMYKcmyk(13.5%, 74.2%, 0%, 30.2%)
CIE-LABlab(41.28, 61.67, -48.27)
CIE-LCHlch(41.28, 78.31, 321.95°)
OKLaboklab(52.1% 0.159 -0.1354)
OKLCHoklch(52.1% 0.209 319.6)
XYZxyz(22.3383, 12.0395, 43.2581)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EB2 #46B22E
analogous
#582EB2 #9A2EB2 #B22E88
triadic
#9A2EB2 #B29A2E #2EB29A
tetradic
#9A2EB2 #B2582E #46B22E #2E88B2
square
#9A2EB2 #B2582E #46B22E #2E88B2
split-complementary
#9A2EB2 #88B22E #2EB258
monochromatic
#461551 #702181 #9A2EB2 #B94CD1 #CC7DDD

Accessibility & contrast

On white

6.16
#9A2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9A2EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EB2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EB2#FFFFFF#000000##FFFFFF
##9A2EB21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3965AF
Tritanopia (blue-blind)
#9A496E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2eb2;
/* rgb */ color: rgb(154, 46, 178);
/* oklch */ color: oklch(52.1% 0.209 319.6);
Tailwind
colors: {
  custom: {
    50: '#bc72ca',
    500: '#9a2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2eb2;
$custom-light: #bc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2eb2",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 289.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52099,
    "c": 0.20886,
    "h": 319.6
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#9A2EB2
secondary
#84C676
accent
#E24662
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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