#7E1675#7E1675

#7E1675 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.171 H 332.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7E1675
RGBrgb(126, 22, 117)
HSLhsl(305, 70%, 29%)
HSVhsv(305, 83%, 49%)
CMYKcmyk(0%, 82.5%, 7.1%, 50.6%)
CIE-LABlab(30.14, 52.64, -28.98)
CIE-LCHlch(30.14, 60.09, 331.17°)
OKLaboklab(42.06% 0.1513 -0.0798)
OKLCHoklch(42.06% 0.171 332.2)
XYZxyz(12.1020, 6.2948, 17.4038)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1675 #167E1F
analogous
#53167E #7E1675 #7E1641
triadic
#7E1675 #757E16 #16757E
tetradic
#7E1675 #7E5316 #167E1F #16417E
square
#7E1675 #7E5316 #167E1F #16417E
split-complementary
#7E1675 #417E16 #167E53
monochromatic
#1A0518 #4A0D45 #7E1675 #B21FA5 #DB33CD

Accessibility & contrast

On white

9.30
#7E1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1675
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1675#FFFFFF#000000##FFFFFF
##7E16751.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3E77
Deuteranopia (green-blind)
#3A4C73
Tritanopia (blue-blind)
#842446
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1675;
/* rgb */ color: rgb(126, 22, 117);
/* oklch */ color: oklch(42.1% 0.171 332.2);
Tailwind
colors: {
  custom: {
    50: '#a7629d',
    500: '#7e1675',
    950: '#000000',
  },
}
SCSS
$custom: #7e1675;
$custom-light: #a7629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1675",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 305.192,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.17104,
    "h": 332.2
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#7E1675
secondary
#3DB347
accent
#ED4A3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1675

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

Preview Lab → · Contrast checker → · Palette generator →

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