#9A2FBD#9A2FBD

#9A2FBD is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.217 H 316.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9A2FBD
RGBrgb(154, 47, 189)
HSLhsl(285, 60%, 46%)
HSVhsv(285, 75%, 74%)
CMYKcmyk(18.5%, 75.1%, 0%, 25.9%)
CIE-LABlab(42.12, 63.42, -53.39)
CIE-LCHlch(42.12, 82.90, 319.91°)
OKLaboklab(52.93% 0.1569 -0.1504)
OKLCHoklch(52.93% 0.217 316.2)
XYZxyz(23.5268, 12.5781, 49.3228)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FBD #52BD2F
analogous
#532FBD #9A2FBD #BD2F99
triadic
#9A2FBD #BD9A2F #2FBD9A
tetradic
#9A2FBD #BD532F #52BD2F #2F99BD
square
#9A2FBD #BD532F #52BD2F #2F99BD
split-complementary
#9A2FBD #99BD2F #2FBD53
monochromatic
#4A175B #72238C #9A2FBD #B555D5 #CA86E1

Accessibility & contrast

On white

5.97
#9A2FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9A2FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FBD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FBD#FFFFFF#000000##FFFFFF
##9A2FBD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#2E66BA
Tritanopia (blue-blind)
#984E74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2fbd;
/* rgb */ color: rgb(154, 47, 189);
/* oklch */ color: oklch(52.9% 0.217 316.2);
Tailwind
colors: {
  custom: {
    50: '#bc73d2',
    500: '#9a2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fbd;
$custom-light: #bc73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fbd",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 285.211,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52925,
    "c": 0.21733,
    "h": 316.2
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#9A2FBD
secondary
#90CA7E
accent
#E3446C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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