#9A2FB0#9A2FB0

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

Color values

HEX#9A2FB0
RGBrgb(154, 47, 176)
HSLhsl(290, 58%, 44%)
HSVhsv(290, 73%, 69%)
CMYKcmyk(12.5%, 73.3%, 0%, 31%)
CIE-LABlab(41.28, 60.94, -47.09)
CIE-LCHlch(41.28, 77.01, 322.30°)
OKLaboklab(52.06% 0.1583 -0.132)
OKLCHoklch(52.06% 0.206 320.2)
XYZxyz(22.1785, 12.0388, 42.2214)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FB0 #45B02F
analogous
#592FB0 #9A2FB0 #B02F85
triadic
#9A2FB0 #B09A2F #2FB09A
tetradic
#9A2FB0 #B0592F #45B02F #2F85B0
square
#9A2FB0 #B0592F #45B02F #2F85B0
split-complementary
#9A2FB0 #85B02F #2FB059
monochromatic
#45154F #702280 #9A2FB0 #B94DCF #CC7DDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2FB0#FFFFFF#000000##FFFFFF
##9A2FB01.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)
#005AB4
Deuteranopia (green-blind)
#3B65AD
Tritanopia (blue-blind)
#9B486D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2fb0;
/* rgb */ color: rgb(154, 47, 176);
/* oklch */ color: oklch(52.1% 0.206 320.2);
Tailwind
colors: {
  custom: {
    50: '#bc72c8',
    500: '#9a2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fb0;
$custom-light: #bc72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fb0",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 289.767,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.20604,
    "h": 320.2
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#9A2FB0
secondary
#83C576
accent
#E14761
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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