#9A2FBF#9A2FBF

#9A2FBF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.219 H 315.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9A2FBF
RGBrgb(154, 47, 191)
HSLhsl(285, 61%, 47%)
HSVhsv(285, 75%, 75%)
CMYKcmyk(19.4%, 75.4%, 0%, 25.1%)
CIE-LABlab(42.26, 63.81, -54.35)
CIE-LCHlch(42.26, 83.82, 319.58°)
OKLaboklab(53.06% 0.1566 -0.1532)
OKLCHoklch(53.06% 0.219 315.6)
XYZxyz(23.7454, 12.6656, 50.4740)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FBF #54BF2F
analogous
#522FBF #9A2FBF #BF2F9C
triadic
#9A2FBF #BF9A2F #2FBF9A
tetradic
#9A2FBF #BF522F #54BF2F #2F9CBF
square
#9A2FBF #BF522F #54BF2F #2F9CBF
split-complementary
#9A2FBF #9CBF2F #2FBF52
monochromatic
#4B175D #72238E #9A2FBF #B556D5 #CA87E1

Accessibility & contrast

On white

5.94
#9A2FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9A2FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FBF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FBF#FFFFFF#000000##FFFFFF
##9A2FBF1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#2B67BC
Tritanopia (blue-blind)
#974F75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2fbf;
/* rgb */ color: rgb(154, 47, 191);
/* oklch */ color: oklch(53.1% 0.219 315.6);
Tailwind
colors: {
  custom: {
    50: '#bc73d3',
    500: '#9a2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fbf;
$custom-light: #bc73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fbf",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 284.583,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.21907,
    "h": 315.6
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#9A2FBF
secondary
#92CB7F
accent
#E4446D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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