#9A2CBF#9A2CBF

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

Color values

HEX#9A2CBF
RGBrgb(154, 44, 191)
HSLhsl(285, 63%, 46%)
HSVhsv(285, 77%, 75%)
CMYKcmyk(19.4%, 77%, 0%, 25.1%)
CIE-LABlab(41.90, 64.84, -54.92)
CIE-LCHlch(41.90, 84.97, 319.73°)
OKLaboklab(52.81% 0.1592 -0.1549)
OKLCHoklch(52.81% 0.222 315.8)
XYZxyz(23.6296, 12.4339, 50.4354)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CBF #51BF2C
analogous
#502CBF #9A2CBF #BF2C9A
triadic
#9A2CBF #BF9A2C #2CBF9A
tetradic
#9A2CBF #BF502C #51BF2C #2C9ABF
square
#9A2CBF #BF502C #51BF2C #2C9ABF
split-complementary
#9A2CBF #9ABF2C #2CBF50
monochromatic
#4A155C #72218D #9A2CBF #B551D7 #CA83E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2CBF#FFFFFF#000000##FFFFFF
##9A2CBF1.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)
#005DC3
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#974D75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2cbf;
/* rgb */ color: rgb(154, 44, 191);
/* oklch */ color: oklch(52.8% 0.222 315.8);
Tailwind
colors: {
  custom: {
    50: '#bc72d3',
    500: '#9a2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cbf;
$custom-light: #bc72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cbf",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 284.898,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5281,
    "c": 0.22211,
    "h": 315.8
  },
  "luminance": 0.12433
}

Semantic roles & 50–950 ramp

primary
#9A2CBF
secondary
#8FCC7B
accent
#E6426B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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