#7B1E9E#7B1E9E

#7B1E9E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.196 H 314.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7B1E9E
RGBrgb(123, 30, 158)
HSLhsl(284, 68%, 37%)
HSVhsv(284, 81%, 62%)
CMYKcmyk(22.2%, 81%, 0%, 38%)
CIE-LABlab(33.15, 57.14, -49.64)
CIE-LCHlch(33.15, 75.69, 319.02°)
OKLaboklab(44.95% 0.1371 -0.1403)
OKLCHoklch(44.95% 0.196 314.3)
XYZxyz(14.8032, 7.6086, 33.0300)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E9E #419E1E
analogous
#3B1E9E #7B1E9E #9E1E81
triadic
#7B1E9E #9E7B1E #1E9E7B
tetradic
#7B1E9E #9E3B1E #419E1E #1E819E
square
#7B1E9E #9E3B1E #419E1E #1E819E
split-complementary
#7B1E9E #819E1E #1E9E3B
monochromatic
#2B0A37 #53146B #7B1E9E #A328D1 #BA57DF

Accessibility & contrast

On white

8.33
#7B1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7B1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E9E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E9E#FFFFFF#000000##FFFFFF
##7B1E9E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#783D5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b1e9e;
/* rgb */ color: rgb(123, 30, 158);
/* oklch */ color: oklch(45.0% 0.196 314.3);
Tailwind
colors: {
  custom: {
    50: '#a666bb',
    500: '#7b1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e9e;
$custom-light: #a666bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e9e",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 283.594,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.19616,
    "h": 314.3
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#7B1E9E
secondary
#73C355
accent
#EB3D6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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