#9A2CAF#9A2CAF

#9A2CAF is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.208 H 320.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9A2CAF
RGBrgb(154, 44, 175)
HSLhsl(290, 60%, 43%)
HSVhsv(290, 75%, 69%)
CMYKcmyk(12%, 74.9%, 0%, 31.4%)
CIE-LABlab(40.84, 61.81, -47.19)
CIE-LCHlch(40.84, 77.76, 322.64°)
OKLaboklab(51.73% 0.1611 -0.1322)
OKLCHoklch(51.73% 0.208 320.6)
XYZxyz(21.9641, 11.7677, 41.6636)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CAF #41AF2C
analogous
#592CAF #9A2CAF #AF2C82
triadic
#9A2CAF #AF9A2C #2CAF9A
tetradic
#9A2CAF #AF592C #41AF2C #2C82AF
square
#9A2CAF #AF592C #41AF2C #2C82AF
split-complementary
#9A2CAF #82AF2C #2CAF59
monochromatic
#44134D #6F207E #9A2CAF #BB47D1 #CD78DD

Accessibility & contrast

On white

6.26
#9A2CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9A2CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CAF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CAF#FFFFFF#000000##FFFFFF
##9A2CAF1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#9B466C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2caf;
/* rgb */ color: rgb(154, 44, 175);
/* oklch */ color: oklch(51.7% 0.208 320.6);
Tailwind
colors: {
  custom: {
    50: '#bc71c7',
    500: '#9a2caf',
    950: '#000000',
  },
}
SCSS
$custom: #9a2caf;
$custom-light: #bc71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2caf",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 290.382,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.20845,
    "h": 320.6
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#9A2CAF
secondary
#7FC572
accent
#E3455E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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