#9F2CBA#9F2CBA

#9F2CBA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.220 H 319.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9F2CBA
RGBrgb(159, 44, 186)
HSLhsl(289, 62%, 45%)
HSVhsv(289, 76%, 73%)
CMYKcmyk(14.5%, 76.3%, 0%, 27.1%)
CIE-LABlab(42.34, 64.85, -51.25)
CIE-LCHlch(42.34, 82.65, 321.68°)
OKLaboklab(53.17% 0.1659 -0.1439)
OKLCHoklch(53.17% 0.22 319.1)
XYZxyz(24.0605, 12.7186, 47.6324)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CBA #47BA2C
analogous
#582CBA #9F2CBA #BA2C8E
triadic
#9F2CBA #BA9F2C #2CBA9F
tetradic
#9F2CBA #BA582C #47BA2C #2C8EBA
square
#9F2CBA #BA582C #47BA2C #2C8EBA
split-complementary
#9F2CBA #8EBA2C #2CBA58
monochromatic
#4A1557 #752089 #9F2CBA #BB4ED5 #CE80E1

Accessibility & contrast

On white

5.93
#9F2CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9F2CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CBA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CBA#FFFFFF#000000##FFFFFF
##9F2CBA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#9F4A72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2cba;
/* rgb */ color: rgb(159, 44, 186);
/* oklch */ color: oklch(53.2% 0.220 319.1);
Tailwind
colors: {
  custom: {
    50: '#c072cf',
    500: '#9f2cba',
    950: '#000000',
  },
}
SCSS
$custom: #9f2cba;
$custom-light: #c072cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2cba",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 288.592,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53168,
    "c": 0.21968,
    "h": 319.1
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#9F2CBA
secondary
#88CA78
accent
#E54362
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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