#9A2FBA#9A2FBA

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

Color values

HEX#9A2FBA
RGBrgb(154, 47, 186)
HSLhsl(286, 60%, 46%)
HSVhsv(286, 75%, 73%)
CMYKcmyk(17.2%, 74.7%, 0%, 27.1%)
CIE-LABlab(41.92, 62.84, -51.95)
CIE-LCHlch(41.92, 81.53, 320.42°)
OKLaboklab(52.72% 0.1572 -0.1462)
OKLCHoklch(52.72% 0.215 317.1)
XYZxyz(23.2046, 12.4492, 47.6255)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FBA #4FBA2F
analogous
#542FBA #9A2FBA #BA2F94
triadic
#9A2FBA #BA9A2F #2FBA9A
tetradic
#9A2FBA #BA542F #4FBA2F #2F94BA
square
#9A2FBA #BA542F #4FBA2F #2F94BA
split-complementary
#9A2FBA #94BA2F #2FBA54
monochromatic
#491658 #722389 #9A2FBA #B653D3 #CB84E0

Accessibility & contrast

On white

6.02
#9A2FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9A2FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FBA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FBA#FFFFFF#000000##FFFFFF
##9A2FBA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#984D73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2fba;
/* rgb */ color: rgb(154, 47, 186);
/* oklch */ color: oklch(52.7% 0.215 317.1);
Tailwind
colors: {
  custom: {
    50: '#bc73cf',
    500: '#9a2fba',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fba;
$custom-light: #bc73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fba",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 286.187,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5272,
    "c": 0.21471,
    "h": 317.1
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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