#7B1B94#7B1B94

#7B1B94 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.190 H 318.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7B1B94
RGBrgb(123, 27, 148)
HSLhsl(288, 69%, 34%)
HSVhsv(288, 82%, 58%)
CMYKcmyk(16.9%, 81.8%, 0%, 42%)
CIE-LABlab(32.11, 56.09, -45.22)
CIE-LCHlch(32.11, 72.05, 321.12°)
OKLaboklab(43.99% 0.1413 -0.1273)
OKLCHoklch(43.99% 0.19 318)
XYZxyz(13.9048, 7.1336, 28.6557)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B94 #34941B
analogous
#3E1B94 #7B1B94 #941B71
triadic
#7B1B94 #947B1B #1B947B
tetradic
#7B1B94 #943E1B #34941B #1B7194
square
#7B1B94 #943E1B #34941B #1B7194
split-complementary
#7B1B94 #71941B #1B943E
monochromatic
#25082C #501260 #7B1B94 #A624C8 #C04BDE

Accessibility & contrast

On white

8.65
#7B1B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7B1B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B94
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B94#FFFFFF#000000##FFFFFF
##7B1B941.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#204E91
Tritanopia (blue-blind)
#7A3758
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b1b94;
/* rgb */ color: rgb(123, 27, 148);
/* oklch */ color: oklch(44.0% 0.190 318.0);
Tailwind
colors: {
  custom: {
    50: '#a565b4',
    500: '#7b1b94',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b94;
$custom-light: #a565b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b94",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 287.603,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.19019,
    "h": 318
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#7B1B94
secondary
#63C04B
accent
#EC3C60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1B94

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

Preview Lab → · Contrast checker → · Palette generator →

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