#7F1CA7#7F1CA7

#7F1CA7 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 46.1% C 0.207 H 313.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7F1CA7
RGBrgb(127, 28, 167)
HSLhsl(283, 71%, 38%)
HSVhsv(283, 83%, 65%)
CMYKcmyk(24%, 83.2%, 0%, 34.5%)
CIE-LABlab(34.26, 60.26, -53.25)
CIE-LCHlch(34.26, 80.42, 318.53°)
OKLaboklab(46.06% 0.1418 -0.1508)
OKLCHoklch(46.06% 0.207 313.2)
XYZxyz(16.1415, 8.1331, 37.2713)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1CA7 #44A71C
analogous
#3A1CA7 #7F1CA7 #A71C89
triadic
#7F1CA7 #A77F1C #1CA77F
tetradic
#7F1CA7 #A73A1C #44A71C #1C89A7
square
#7F1CA7 #A73A1C #44A71C #1C89A7
split-complementary
#7F1CA7 #89A71C #1CA73A
monochromatic
#2F0A3E #571373 #7F1CA7 #A626DB #BC5AE3

Accessibility & contrast

On white

8.00
#7F1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7F1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1CA7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1CA7#FFFFFF#000000##FFFFFF
##7F1CA71.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0053A4
Tritanopia (blue-blind)
#7B4064
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f1ca7;
/* rgb */ color: rgb(127, 28, 167);
/* oklch */ color: oklch(46.1% 0.207 313.2);
Tailwind
colors: {
  custom: {
    50: '#a967c2',
    500: '#7f1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #7f1ca7;
$custom-light: #a967c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1ca7",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 282.734,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46064,
    "c": 0.207,
    "h": 313.2
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#7F1CA7
secondary
#78C758
accent
#EE3A6E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7F1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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