#9A2FB9#9A2FB9

#9A2FB9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.214 H 317.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9A2FB9
RGBrgb(154, 47, 185)
HSLhsl(287, 59%, 45%)
HSVhsv(287, 75%, 73%)
CMYKcmyk(16.8%, 74.6%, 0%, 27.5%)
CIE-LABlab(41.86, 62.65, -51.47)
CIE-LCHlch(41.86, 81.08, 320.59°)
OKLaboklab(52.65% 0.1574 -0.1448)
OKLCHoklch(52.65% 0.214 317.4)
XYZxyz(23.0986, 12.4068, 47.0676)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FB9 #4EB92F
analogous
#552FB9 #9A2FB9 #B92F93
triadic
#9A2FB9 #B99A2F #2FB99A
tetradic
#9A2FB9 #B9552F #4EB92F #2F93B9
square
#9A2FB9 #B9552F #4EB92F #2F93B9
split-complementary
#9A2FB9 #93B92F #2FB955
monochromatic
#491657 #712388 #9A2FB9 #B652D3 #CB83DF

Accessibility & contrast

On white

6.03
#9A2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9A2FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FB9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FB9#FFFFFF#000000##FFFFFF
##9A2FB91.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#3366B6
Tritanopia (blue-blind)
#994C72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2fb9;
/* rgb */ color: rgb(154, 47, 185);
/* oklch */ color: oklch(52.7% 0.214 317.4);
Tailwind
colors: {
  custom: {
    50: '#bc73cf',
    500: '#9a2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fb9;
$custom-light: #bc73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fb9",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 286.522,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52653,
    "c": 0.21384,
    "h": 317.4
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#9A2FB9
secondary
#8DC97B
accent
#E34569
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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