#7A1B95#7A1B95

#7A1B95 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.191 H 317.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7A1B95
RGBrgb(122, 27, 149)
HSLhsl(287, 69%, 35%)
HSVhsv(287, 82%, 58%)
CMYKcmyk(18.1%, 81.9%, 0%, 41.6%)
CIE-LABlab(32.02, 56.10, -45.99)
CIE-LCHlch(32.02, 72.54, 320.65°)
OKLaboklab(43.91% 0.1398 -0.1296)
OKLCHoklch(43.91% 0.191 317.2)
XYZxyz(13.8420, 7.0920, 29.0677)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B95 #36951B
analogous
#3D1B95 #7A1B95 #951B73
triadic
#7A1B95 #957A1B #1B957A
tetradic
#7A1B95 #953D1B #36951B #1B7395
square
#7A1B95 #953D1B #36951B #1B7395
split-complementary
#7A1B95 #73951B #1B953D
monochromatic
#25082D #501261 #7A1B95 #A424C9 #BE4CDF

Accessibility & contrast

On white

8.68
#7A1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7A1B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B95
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B95#FFFFFF#000000##FFFFFF
##7A1B951.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#1D4E92
Tritanopia (blue-blind)
#793859
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a1b95;
/* rgb */ color: rgb(122, 27, 149);
/* oklch */ color: oklch(43.9% 0.191 317.2);
Tailwind
colors: {
  custom: {
    50: '#a565b5',
    500: '#7a1b95',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b95;
$custom-light: #a565b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b95",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 286.721,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43912,
    "c": 0.19068,
    "h": 317.2
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#7A1B95
secondary
#65C14B
accent
#EC3C63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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