#7E1975#7E1975

#7E1975 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.168 H 332.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7E1975
RGBrgb(126, 25, 117)
HSLhsl(305, 67%, 30%)
HSVhsv(305, 80%, 49%)
CMYKcmyk(0%, 80.2%, 7.1%, 50.6%)
CIE-LABlab(30.44, 51.79, -28.51)
CIE-LCHlch(30.44, 59.12, 331.16°)
OKLaboklab(42.27% 0.1488 -0.0785)
OKLCHoklch(42.27% 0.168 332.2)
XYZxyz(12.1627, 6.4163, 17.4241)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1975 #197E22
analogous
#55197E #7E1975 #7E1942
triadic
#7E1975 #757E19 #19757E
tetradic
#7E1975 #7E5519 #197E22 #19427E
square
#7E1975 #7E5519 #197E22 #19427E
split-complementary
#7E1975 #427E19 #197E55
monochromatic
#1A0518 #4B0F46 #7E1975 #B123A4 #D83ACA

Accessibility & contrast

On white

9.20
#7E1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1975
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1975#FFFFFF#000000##FFFFFF
##7E19751.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113F77
Deuteranopia (green-blind)
#3B4D73
Tritanopia (blue-blind)
#842646
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1975;
/* rgb */ color: rgb(126, 25, 117);
/* oklch */ color: oklch(42.3% 0.168 332.2);
Tailwind
colors: {
  custom: {
    50: '#a7639d',
    500: '#7e1975',
    950: '#000000',
  },
}
SCSS
$custom: #7e1975;
$custom-light: #a7639d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1975",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 305.347,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42269,
    "c": 0.16823,
    "h": 332.2
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#7E1975
secondary
#41B24B
accent
#EA4D3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1975

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

Preview Lab → · Contrast checker → · Palette generator →

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