#7E0F6F#7E0F6F

#7E0F6F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.172 H 335.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7E0F6F
RGBrgb(126, 15, 111)
HSLhsl(308, 79%, 28%)
HSVhsv(308, 88%, 49%)
CMYKcmyk(0%, 88.1%, 11.9%, 50.6%)
CIE-LABlab(29.23, 53.39, -26.60)
CIE-LCHlch(29.23, 59.65, 333.52°)
OKLaboklab(41.29% 0.1561 -0.0729)
OKLCHoklch(41.29% 0.172 335)
XYZxyz(11.6444, 5.9261, 15.5664)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E0F6F #0F7E1E
analogous
#550F7E #7E0F6F #7E0F38
triadic
#7E0F6F #6F7E0F #0F6F7E
tetradic
#7E0F6F #7E550F #0F7E1E #0F387E
square
#7E0F6F #7E550F #0F7E1E #0F387E
split-complementary
#7E0F6F #387E0F #0F7E55
monochromatic
#1B0318 #47083F #7E0F6F #B5169F #E523CB

Accessibility & contrast

On white

9.61
#7E0F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E0F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E0F6F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E0F6F#FFFFFF#000000##FFFFFF
##7E0F6F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B71
Deuteranopia (green-blind)
#3C4A6D
Tritanopia (blue-blind)
#851C41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e0f6f;
/* rgb */ color: rgb(126, 15, 111);
/* oklch */ color: oklch(41.3% 0.172 335.0);
Tailwind
colors: {
  custom: {
    50: '#a76098',
    500: '#7e0f6f',
    950: '#000000',
  },
}
SCSS
$custom: #7e0f6f;
$custom-light: #a76098;
$custom-dark: #000000;
JSON
{
  "hex": "#7e0f6f",
  "rgb": {
    "r": 126,
    "g": 15,
    "b": 111
  },
  "hsl": {
    "h": 308.108,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41293,
    "c": 0.17228,
    "h": 335
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#7E0F6F
secondary
#34B546
accent
#F54D33
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7E0F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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