#7E0F70#7E0F70

#7E0F70 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.173 H 334.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7E0F70
RGBrgb(126, 15, 112)
HSLhsl(308, 79%, 28%)
HSVhsv(308, 88%, 49%)
CMYKcmyk(0%, 88.1%, 11.1%, 50.6%)
CIE-LABlab(29.28, 53.55, -27.16)
CIE-LCHlch(29.28, 60.04, 333.11°)
OKLaboklab(41.35% 0.1561 -0.0745)
OKLCHoklch(41.35% 0.173 334.5)
XYZxyz(11.6998, 5.9482, 15.8580)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E0F70 #0F7E1D
analogous
#550F7E #7E0F70 #7E0F38
triadic
#7E0F70 #707E0F #0F707E
tetradic
#7E0F70 #7E550F #0F7E1D #0F387E
square
#7E0F70 #7E550F #0F7E1D #0F387E
split-complementary
#7E0F70 #387E0F #0F7E55
monochromatic
#1B0318 #47083F #7E0F70 #B516A1 #E523CC

Accessibility & contrast

On white

9.59
#7E0F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E0F70
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E0F70#FFFFFF#000000##FFFFFF
##7E0F701.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B72
Deuteranopia (green-blind)
#3B4A6E
Tritanopia (blue-blind)
#841D41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e0f70;
/* rgb */ color: rgb(126, 15, 112);
/* oklch */ color: oklch(41.4% 0.173 334.5);
Tailwind
colors: {
  custom: {
    50: '#a76099',
    500: '#7e0f70',
    950: '#000000',
  },
}
SCSS
$custom: #7e0f70;
$custom-light: #a76099;
$custom-dark: #000000;
JSON
{
  "hex": "#7e0f70",
  "rgb": {
    "r": 126,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 307.568,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.17298,
    "h": 334.5
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#7E0F70
secondary
#34B544
accent
#F54B33
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7E0F70

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

Preview Lab → · Contrast checker → · Palette generator →

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