#7E1693#7E1693

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

Color values

HEX#7E1693
RGBrgb(126, 22, 147)
HSLhsl(290, 74%, 33%)
HSVhsv(290, 85%, 58%)
CMYKcmyk(14.3%, 85%, 0%, 42.4%)
CIE-LABlab(32.07, 57.84, -44.64)
CIE-LCHlch(32.07, 73.06, 322.34°)
OKLaboklab(44.04% 0.1487 -0.1255)
OKLCHoklch(44.04% 0.195 319.8)
XYZxyz(14.1569, 7.1168, 28.2261)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1693 #2B9316
analogous
#3F1693 #7E1693 #931669
triadic
#7E1693 #937E16 #16937E
tetradic
#7E1693 #933F16 #2B9316 #166993
square
#7E1693 #933F16 #2B9316 #166993
split-complementary
#7E1693 #699316 #16933F
monochromatic
#230629 #500E5E #7E1693 #AC1EC8 #C741E3

Accessibility & contrast

On white

8.67
#7E1693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1693
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1693#FFFFFF#000000##FFFFFF
##7E16931.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#234F90
Tritanopia (blue-blind)
#7E3457
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e1693;
/* rgb */ color: rgb(126, 22, 147);
/* oklch */ color: oklch(44.0% 0.195 319.8);
Tailwind
colors: {
  custom: {
    50: '#a863b3',
    500: '#7e1693',
    950: '#000000',
  },
}
SCSS
$custom: #7e1693;
$custom-light: #a863b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1693",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 289.92,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44038,
    "c": 0.19461,
    "h": 319.8
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#7E1693
secondary
#58C342
accent
#F13756
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1693

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

Preview Lab → · Contrast checker → · Palette generator →

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