#9A2FB2#9A2FB2

#9A2FB2 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.208 H 319.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9A2FB2
RGBrgb(154, 47, 178)
HSLhsl(289, 58%, 44%)
HSVhsv(289, 74%, 70%)
CMYKcmyk(13.5%, 73.6%, 0%, 30.2%)
CIE-LABlab(41.40, 61.31, -48.07)
CIE-LCHlch(41.40, 77.91, 321.90°)
OKLaboklab(52.19% 0.1581 -0.1348)
OKLCHoklch(52.19% 0.208 319.5)
XYZxyz(22.3778, 12.1185, 43.2712)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FB2 #47B22F
analogous
#592FB2 #9A2FB2 #B22F89
triadic
#9A2FB2 #B29A2F #2FB29A
tetradic
#9A2FB2 #B2592F #47B22F #2F89B2
square
#9A2FB2 #B2592F #47B22F #2F89B2
split-complementary
#9A2FB2 #89B22F #2FB259
monochromatic
#461551 #702282 #9A2FB2 #B84ED0 #CC7EDD

Accessibility & contrast

On white

6.13
#9A2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9A2FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FB2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FB2#FFFFFF#000000##FFFFFF
##9A2FB21.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3A65AF
Tritanopia (blue-blind)
#9A496E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2fb2;
/* rgb */ color: rgb(154, 47, 178);
/* oklch */ color: oklch(52.2% 0.208 319.5);
Tailwind
colors: {
  custom: {
    50: '#bc72ca',
    500: '#9a2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fb2;
$custom-light: #bc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fb2",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 289.008,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.20776,
    "h": 319.5
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#9A2FB2
secondary
#85C677
accent
#E14663
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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