#7B1CA0#7B1CA0

#7B1CA0 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.200 H 313.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7B1CA0
RGBrgb(123, 28, 160)
HSLhsl(283, 70%, 37%)
HSVhsv(283, 83%, 63%)
CMYKcmyk(23.1%, 82.5%, 0%, 37.3%)
CIE-LABlab(33.09, 58.16, -50.95)
CIE-LCHlch(33.09, 77.32, 318.78°)
OKLaboklab(44.96% 0.1382 -0.1441)
OKLCHoklch(44.96% 0.2 313.8)
XYZxyz(14.9277, 7.5800, 33.9276)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1CA0 #41A01C
analogous
#391CA0 #7B1CA0 #A01C83
triadic
#7B1CA0 #A07B1C #1CA07B
tetradic
#7B1CA0 #A0391C #41A01C #1C83A0
square
#7B1CA0 #A0391C #41A01C #1C83A0
split-complementary
#7B1CA0 #83A01C #1CA039
monochromatic
#2B0A38 #53136C #7B1CA0 #A325D4 #BA55E1

Accessibility & contrast

On white

8.35
#7B1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1CA0
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1CA0#FFFFFF#000000##FFFFFF
##7B1CA01.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#09509D
Tritanopia (blue-blind)
#773D60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b1ca0;
/* rgb */ color: rgb(123, 28, 160);
/* oklch */ color: oklch(45.0% 0.200 313.8);
Tailwind
colors: {
  custom: {
    50: '#a666bd',
    500: '#7b1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #7b1ca0;
$custom-light: #a666bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1ca0",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 283.182,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44955,
    "c": 0.19968,
    "h": 313.8
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#7B1CA0
secondary
#73C453
accent
#ED3B6D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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