#7B1E95#7B1E95

#7B1E95 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.188 H 317.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7B1E95
RGBrgb(123, 30, 149)
HSLhsl(287, 66%, 35%)
HSVhsv(287, 80%, 58%)
CMYKcmyk(17.4%, 79.9%, 0%, 41.6%)
CIE-LABlab(32.50, 55.35, -45.20)
CIE-LCHlch(32.50, 71.46, 320.76°)
OKLaboklab(44.29% 0.1387 -0.1273)
OKLCHoklch(44.29% 0.188 317.5)
XYZxyz(14.0567, 7.3101, 29.0985)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E95 #38951E
analogous
#401E95 #7B1E95 #951E73
triadic
#7B1E95 #957B1E #1E957B
tetradic
#7B1E95 #95401E #38951E #1E7395
square
#7B1E95 #95401E #38951E #1E7395
split-complementary
#7B1E95 #73951E #1E9540
monochromatic
#27092F #511462 #7B1E95 #A528C8 #BE51DC

Accessibility & contrast

On white

8.53
#7B1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7B1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E95
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E95#FFFFFF#000000##FFFFFF
##7B1E951.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#214F92
Tritanopia (blue-blind)
#7A395A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b1e95;
/* rgb */ color: rgb(123, 30, 149);
/* oklch */ color: oklch(44.3% 0.188 317.5);
Tailwind
colors: {
  custom: {
    50: '#a566b5',
    500: '#7b1e95',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e95;
$custom-light: #a566b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e95",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 286.891,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44287,
    "c": 0.18826,
    "h": 317.5
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#7B1E95
secondary
#68BF50
accent
#E93E64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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