#7C1BA1#7C1BA1

#7C1BA1 is a mid, highly saturated purple. Relative luminance 0.076; OKLCH L 45.1% C 0.202 H 313.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7C1BA1
RGBrgb(124, 27, 161)
HSLhsl(283, 71%, 37%)
HSVhsv(283, 83%, 63%)
CMYKcmyk(23%, 83.2%, 0%, 36.9%)
CIE-LABlab(33.23, 58.83, -51.33)
CIE-LCHlch(33.23, 78.07, 318.90°)
OKLaboklab(45.11% 0.14 -0.1452)
OKLCHoklch(45.11% 0.202 313.9)
XYZxyz(15.1360, 7.6427, 34.3892)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1BA1 #40A11B
analogous
#391BA1 #7C1BA1 #A11B83
triadic
#7C1BA1 #A17C1B #1BA17C
tetradic
#7C1BA1 #A1391B #40A11B #1B83A1
square
#7C1BA1 #A1391B #40A11B #1B83A1
split-complementary
#7C1BA1 #83A11B #1BA139
monochromatic
#2B0938 #54126D #7C1BA1 #A424D5 #BB54E2

Accessibility & contrast

On white

8.31
#7C1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7C1BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1BA1
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1BA1#FFFFFF#000000##FFFFFF
##7C1BA11.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#07509E
Tritanopia (blue-blind)
#783D60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1ba1;
/* rgb */ color: rgb(124, 27, 161);
/* oklch */ color: oklch(45.1% 0.202 313.9);
Tailwind
colors: {
  custom: {
    50: '#a766be',
    500: '#7c1ba1',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ba1;
$custom-light: #a766be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ba1",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 283.433,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45105,
    "c": 0.20169,
    "h": 313.9
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#7C1BA1
secondary
#72C552
accent
#EE3A6C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C1BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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