#9A2FB8#9A2FB8

#9A2FB8 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.213 H 317.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9A2FB8
RGBrgb(154, 47, 184)
HSLhsl(287, 59%, 45%)
HSVhsv(287, 74%, 72%)
CMYKcmyk(16.3%, 74.5%, 0%, 27.8%)
CIE-LABlab(41.79, 62.45, -50.99)
CIE-LCHlch(41.79, 80.62, 320.77°)
OKLaboklab(52.59% 0.1575 -0.1434)
OKLCHoklch(52.59% 0.213 317.7)
XYZxyz(22.9934, 12.3648, 46.5136)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FB8 #4DB82F
analogous
#552FB8 #9A2FB8 #B82F92
triadic
#9A2FB8 #B89A2F #2FB89A
tetradic
#9A2FB8 #B8552F #4DB82F #2F92B8
square
#9A2FB8 #B8552F #4DB82F #2F92B8
split-complementary
#9A2FB8 #92B82F #2FB855
monochromatic
#481657 #712387 #9A2FB8 #B652D3 #CB82DF

Accessibility & contrast

On white

6.05
#9A2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9A2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FB8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FB8#FFFFFF#000000##FFFFFF
##9A2FB81.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#3466B5
Tritanopia (blue-blind)
#994C72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2fb8;
/* rgb */ color: rgb(154, 47, 184);
/* oklch */ color: oklch(52.6% 0.213 317.7);
Tailwind
colors: {
  custom: {
    50: '#bc73ce',
    500: '#9a2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fb8;
$custom-light: #bc73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fb8",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 286.861,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.21296,
    "h": 317.7
  },
  "luminance": 0.12364
}

Semantic roles & 50–950 ramp

primary
#9A2FB8
secondary
#8CC87B
accent
#E24568
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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