#7B1E8E#7B1E8E

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

Color values

HEX#7B1E8E
RGBrgb(123, 30, 142)
HSLhsl(290, 65%, 34%)
HSVhsv(290, 79%, 56%)
CMYKcmyk(13.4%, 78.9%, 0%, 44.3%)
CIE-LABlab(32.02, 54.00, -41.68)
CIE-LCHlch(32.02, 68.21, 322.34°)
OKLaboklab(43.79% 0.1397 -0.1169)
OKLCHoklch(43.79% 0.182 320.1)
XYZxyz(13.5145, 7.0932, 26.2432)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E8E #318E1E
analogous
#431E8E #7B1E8E #8E1E69
triadic
#7B1E8E #8E7B1E #1E8E7B
tetradic
#7B1E8E #8E431E #318E1E #1E698E
square
#7B1E8E #8E431E #318E1E #1E698E
split-complementary
#7B1E8E #698E1E #1E8E43
monochromatic
#230929 #4F135B #7B1E8E #A729C1 #C24DD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1E8E#FFFFFF#000000##FFFFFF
##7B1E8E1.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)
#004591
Deuteranopia (green-blind)
#294E8C
Tritanopia (blue-blind)
#7B3656
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b1e8e;
/* rgb */ color: rgb(123, 30, 142);
/* oklch */ color: oklch(43.8% 0.182 320.1);
Tailwind
colors: {
  custom: {
    50: '#a565b0',
    500: '#7b1e8e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e8e;
$custom-light: #a565b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e8e",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 289.821,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43791,
    "c": 0.18218,
    "h": 320.1
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

primary
#7B1E8E
secondary
#5FBC4C
accent
#E8405C
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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