#7A1BA0#7A1BA0

#7A1BA0 is a dark, highly saturated purple. Relative luminance 0.075; OKLCH L 44.7% C 0.200 H 313.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7A1BA0
RGBrgb(122, 27, 160)
HSLhsl(283, 71%, 37%)
HSVhsv(283, 83%, 63%)
CMYKcmyk(23.7%, 83.1%, 0%, 37.3%)
CIE-LABlab(32.83, 58.28, -51.38)
CIE-LCHlch(32.83, 77.69, 318.60°)
OKLaboklab(44.74% 0.1376 -0.1454)
OKLCHoklch(44.74% 0.2 313.4)
XYZxyz(14.7620, 7.4600, 33.9132)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1BA0 #41A01B
analogous
#381BA0 #7A1BA0 #A01B84
triadic
#7A1BA0 #A07A1B #1BA07A
tetradic
#7A1BA0 #A0381B #41A01B #1B84A0
square
#7A1BA0 #A0381B #41A01B #1B84A0
split-complementary
#7A1BA0 #84A01B #1BA038
monochromatic
#2A0937 #52126C #7A1BA0 #A224D4 #B953E2

Accessibility & contrast

On white

8.43
#7A1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1BA0
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1BA0#FFFFFF#000000##FFFFFF
##7A1BA01.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#034F9D
Tritanopia (blue-blind)
#763D5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a1ba0;
/* rgb */ color: rgb(122, 27, 160);
/* oklch */ color: oklch(44.7% 0.200 313.4);
Tailwind
colors: {
  custom: {
    50: '#a565bd',
    500: '#7a1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #7a1ba0;
$custom-light: #a565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1ba0",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 282.857,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44741,
    "c": 0.2002,
    "h": 313.4
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#7A1BA0
secondary
#73C552
accent
#EE3A6D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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