#7B1E93#7B1E93

#7B1E93 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.187 H 318.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7B1E93
RGBrgb(123, 30, 147)
HSLhsl(288, 66%, 35%)
HSVhsv(288, 80%, 58%)
CMYKcmyk(16.3%, 79.6%, 0%, 42.4%)
CIE-LABlab(32.36, 54.96, -44.20)
CIE-LCHlch(32.36, 70.53, 321.19°)
OKLaboklab(44.14% 0.139 -0.1243)
OKLCHoklch(44.14% 0.187 318.2)
XYZxyz(13.8984, 7.2467, 28.2648)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E93 #36931E
analogous
#401E93 #7B1E93 #931E71
triadic
#7B1E93 #937B1E #1E937B
tetradic
#7B1E93 #93401E #36931E #1E7193
square
#7B1E93 #93401E #36931E #1E7193
split-complementary
#7B1E93 #71931E #1E9340
monochromatic
#26092D #501460 #7B1E93 #A628C6 #BF50DB

Accessibility & contrast

On white

8.57
#7B1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7B1E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E93
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E93#FFFFFF#000000##FFFFFF
##7B1E931.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#244F90
Tritanopia (blue-blind)
#7A3858
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b1e93;
/* rgb */ color: rgb(123, 30, 147);
/* oklch */ color: oklch(44.1% 0.187 318.2);
Tailwind
colors: {
  custom: {
    50: '#a566b3',
    500: '#7b1e93',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e93;
$custom-light: #a566b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e93",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 287.692,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.18651,
    "h": 318.2
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#7B1E93
secondary
#65BE4F
accent
#E93F62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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