#9A2FBE#9A2FBE

#9A2FBE is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.218 H 315.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9A2FBE
RGBrgb(154, 47, 190)
HSLhsl(285, 60%, 46%)
HSVhsv(285, 75%, 75%)
CMYKcmyk(18.9%, 75.3%, 0%, 25.5%)
CIE-LABlab(42.19, 63.61, -53.87)
CIE-LCHlch(42.19, 83.36, 319.74°)
OKLaboklab(52.99% 0.1567 -0.1518)
OKLCHoklch(52.99% 0.218 315.9)
XYZxyz(23.6357, 12.6217, 49.8964)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FBE #53BE2F
analogous
#532FBE #9A2FBE #BE2F9B
triadic
#9A2FBE #BE9A2F #2FBE9A
tetradic
#9A2FBE #BE532F #53BE2F #2F9BBE
square
#9A2FBE #BE532F #53BE2F #2F9BBE
split-complementary
#9A2FBE #9BBE2F #2FBE53
monochromatic
#4A175C #72238D #9A2FBE #B555D5 #CA86E1

Accessibility & contrast

On white

5.96
#9A2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2FBE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FBE#FFFFFF#000000##FFFFFF
##9A2FBE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#2D66BB
Tritanopia (blue-blind)
#974E75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2fbe;
/* rgb */ color: rgb(154, 47, 190);
/* oklch */ color: oklch(53.0% 0.218 315.9);
Tailwind
colors: {
  custom: {
    50: '#bc73d2',
    500: '#9a2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fbe;
$custom-light: #bc73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fbe",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 284.895,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52993,
    "c": 0.21821,
    "h": 315.9
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#9A2FBE
secondary
#91CB7E
accent
#E3446C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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