#7E2380#7E2380

#7E2380 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.166 H 327.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7E2380
RGBrgb(126, 35, 128)
HSLhsl(299, 57%, 32%)
HSVhsv(299, 73%, 50%)
CMYKcmyk(1.6%, 72.7%, 0%, 49.8%)
CIE-LABlab(32.25, 50.30, -32.58)
CIE-LCHlch(32.25, 59.93, 327.07°)
OKLaboklab(43.77% 0.1393 -0.0903)
OKLCHoklch(43.77% 0.166 327)
XYZxyz(13.1013, 7.1971, 21.1170)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2380 #258023
analogous
#502380 #7E2380 #802354
triadic
#7E2380 #807E23 #23807E
tetradic
#7E2380 #805023 #258023 #235480
square
#7E2380 #805023 #258023 #235480
split-complementary
#7E2380 #548023 #238050
monochromatic
#1F0920 #4F1650 #7E2380 #AD30B0 #CC4FCF

Accessibility & contrast

On white

8.61
#7E2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7E2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2380
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2380#FFFFFF#000000##FFFFFF
##7E23801.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104483
Deuteranopia (green-blind)
#3A507E
Tritanopia (blue-blind)
#82314F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2380;
/* rgb */ color: rgb(126, 35, 128);
/* oklch */ color: oklch(43.8% 0.166 327.0);
Tailwind
colors: {
  custom: {
    50: '#a767a5',
    500: '#7e2380',
    950: '#000000',
  },
}
SCSS
$custom: #7e2380;
$custom-light: #a767a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2380",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 298.71,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43772,
    "c": 0.16604,
    "h": 327
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#7E2380
secondary
#4FB24D
accent
#E0474B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E2380

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

Preview Lab → · Contrast checker → · Palette generator →

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