#7E2483#7E2483

#7E2483 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.167 H 325.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7E2483
RGBrgb(126, 36, 131)
HSLhsl(297, 57%, 33%)
HSVhsv(297, 73%, 51%)
CMYKcmyk(3.8%, 72.5%, 0%, 48.6%)
CIE-LABlab(32.56, 50.47, -33.96)
CIE-LCHlch(32.56, 60.83, 326.07°)
OKLaboklab(44.05% 0.1383 -0.0943)
OKLCHoklch(44.05% 0.167 325.7)
XYZxyz(13.3315, 7.3369, 22.1823)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2483 #298324
analogous
#4E2483 #7E2483 #832458
triadic
#7E2483 #837E24 #24837E
tetradic
#7E2483 #834E24 #298324 #245883
square
#7E2483 #834E24 #298324 #245883
split-complementary
#7E2483 #588324 #24834E
monochromatic
#220A23 #501753 #7E2483 #AC31B3 #C952CF

Accessibility & contrast

On white

8.51
#7E2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7E2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2483
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2483#FFFFFF#000000##FFFFFF
##7E24831.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4586
Deuteranopia (green-blind)
#385081
Tritanopia (blue-blind)
#813351
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2483;
/* rgb */ color: rgb(126, 36, 131);
/* oklch */ color: oklch(44.1% 0.167 325.7);
Tailwind
colors: {
  custom: {
    50: '#a768a7',
    500: '#7e2483',
    950: '#000000',
  },
}
SCSS
$custom: #7e2483;
$custom-light: #a768a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2483",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 296.842,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44052,
    "c": 0.16739,
    "h": 325.7
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#7E2483
secondary
#55B34F
accent
#E04850
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E2483

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

Preview Lab → · Contrast checker → · Palette generator →

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