#7E0F73#7E0F73

#7E0F73 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.175 H 333.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E0F73
RGBrgb(126, 15, 115)
HSLhsl(306, 79%, 28%)
HSVhsv(306, 88%, 49%)
CMYKcmyk(0%, 88.1%, 8.7%, 50.6%)
CIE-LABlab(29.45, 54.00, -28.80)
CIE-LCHlch(29.45, 61.20, 331.93°)
OKLaboklab(41.53% 0.1562 -0.0792)
OKLCHoklch(41.53% 0.175 333.1)
XYZxyz(11.8696, 6.0161, 16.7524)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E0F73 #0F7E1A
analogous
#510F7E #7E0F73 #7E0F3B
triadic
#7E0F73 #737E0F #0F737E
tetradic
#7E0F73 #7E510F #0F7E1A #0F3B7E
square
#7E0F73 #7E510F #0F7E1A #0F3B7E
split-complementary
#7E0F73 #3B7E0F #0F7E51
monochromatic
#1B0319 #470841 #7E0F73 #B516A5 #E523D2

Accessibility & contrast

On white

9.53
#7E0F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E0F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E0F73
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E0F73#FFFFFF#000000##FFFFFF
##7E0F731.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#841F43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e0f73;
/* rgb */ color: rgb(126, 15, 115);
/* oklch */ color: oklch(41.5% 0.175 333.1);
Tailwind
colors: {
  custom: {
    50: '#a7609b',
    500: '#7e0f73',
    950: '#000000',
  },
}
SCSS
$custom: #7e0f73;
$custom-light: #a7609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e0f73",
  "rgb": {
    "r": 126,
    "g": 15,
    "b": 115
  },
  "hsl": {
    "h": 305.946,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41529,
    "c": 0.17512,
    "h": 333.1
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#7E0F73
secondary
#34B541
accent
#F54633
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7E0F73

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

Preview Lab → · Contrast checker → · Palette generator →

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