#7C1BA0#7C1BA0

#7C1BA0 is a mid, highly saturated purple. Relative luminance 0.076; OKLCH L 45.0% C 0.201 H 314.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7C1BA0
RGBrgb(124, 27, 160)
HSLhsl(284, 71%, 37%)
HSVhsv(284, 83%, 63%)
CMYKcmyk(22.5%, 83.1%, 0%, 37.3%)
CIE-LABlab(33.15, 58.63, -50.84)
CIE-LCHlch(33.15, 77.60, 319.07°)
OKLaboklab(45.03% 0.1402 -0.1438)
OKLCHoklch(45.03% 0.201 314.3)
XYZxyz(15.0482, 7.6076, 33.9266)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1BA0 #3FA01B
analogous
#391BA0 #7C1BA0 #A01B82
triadic
#7C1BA0 #A07C1B #1BA07C
tetradic
#7C1BA0 #A0391B #3FA01B #1B82A0
square
#7C1BA0 #A0391B #3FA01B #1B82A0
split-complementary
#7C1BA0 #82A01B #1BA039
monochromatic
#2B0937 #53126C #7C1BA0 #A524D4 #BB53E2

Accessibility & contrast

On white

8.33
#7C1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7C1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1BA0
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1BA0#FFFFFF#000000##FFFFFF
##7C1BA01.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#0B509D
Tritanopia (blue-blind)
#783D5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1ba0;
/* rgb */ color: rgb(124, 27, 160);
/* oklch */ color: oklch(45.0% 0.201 314.3);
Tailwind
colors: {
  custom: {
    50: '#a765bd',
    500: '#7c1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ba0;
$custom-light: #a765bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ba0",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 283.759,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.20084,
    "h": 314.3
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#7C1BA0
secondary
#71C552
accent
#EE3A6B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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