#7F1CA9#7F1CA9

#7F1CA9 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.2% C 0.209 H 312.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7F1CA9
RGBrgb(127, 28, 169)
HSLhsl(282, 72%, 39%)
HSVhsv(282, 83%, 66%)
CMYKcmyk(24.9%, 83.4%, 0%, 33.7%)
CIE-LABlab(34.41, 60.66, -54.21)
CIE-LCHlch(34.41, 81.35, 318.22°)
OKLaboklab(46.22% 0.1414 -0.1536)
OKLCHoklch(46.22% 0.209 312.6)
XYZxyz(16.3278, 8.2076, 38.2525)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1CA9 #46A91C
analogous
#381CA9 #7F1CA9 #A91C8C
triadic
#7F1CA9 #A97F1C #1CA97F
tetradic
#7F1CA9 #A9381C #46A91C #1C8CA9
square
#7F1CA9 #A9381C #46A91C #1C8CA9
split-complementary
#7F1CA9 #8CA91C #1CA938
monochromatic
#300B40 #581374 #7F1CA9 #A627DB #BB5BE4

Accessibility & contrast

On white

7.95
#7F1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7F1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1CA9
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1CA9#FFFFFF#000000##FFFFFF
##7F1CA91.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#7A4165
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f1ca9;
/* rgb */ color: rgb(127, 28, 169);
/* oklch */ color: oklch(46.2% 0.209 312.6);
Tailwind
colors: {
  custom: {
    50: '#a967c3',
    500: '#7f1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #7f1ca9;
$custom-light: #a967c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1ca9",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 282.128,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46218,
    "c": 0.20873,
    "h": 312.6
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#7F1CA9
secondary
#7AC859
accent
#EE396F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

#7F1CA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva