#7E2383#7E2383

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

Color values

HEX#7E2383
RGBrgb(126, 35, 131)
HSLhsl(297, 58%, 33%)
HSVhsv(297, 73%, 51%)
CMYKcmyk(3.8%, 73.3%, 0%, 48.6%)
CIE-LABlab(32.43, 50.84, -34.16)
CIE-LCHlch(32.43, 61.26, 326.10°)
OKLaboklab(43.96% 0.1393 -0.095)
OKLCHoklch(43.96% 0.169 325.7)
XYZxyz(13.3017, 7.2773, 22.1724)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2383 #288323
analogous
#4E2383 #7E2383 #832358
triadic
#7E2383 #837E23 #23837E
tetradic
#7E2383 #834E23 #288323 #235883
square
#7E2383 #834E23 #288323 #235883
split-complementary
#7E2383 #588323 #23834E
monochromatic
#210922 #501653 #7E2383 #AC30B3 #CA50D0

Accessibility & contrast

On white

8.55
#7E2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7E2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2383
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2383#FFFFFF#000000##FFFFFF
##7E23831.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2383;
/* rgb */ color: rgb(126, 35, 131);
/* oklch */ color: oklch(44.0% 0.169 325.7);
Tailwind
colors: {
  custom: {
    50: '#a768a7',
    500: '#7e2383',
    950: '#000000',
  },
}
SCSS
$custom: #7e2383;
$custom-light: #a768a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2383",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 296.875,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43958,
    "c": 0.16858,
    "h": 325.7
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#7E2383
secondary
#53B44E
accent
#E1474F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E2383

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

Preview Lab → · Contrast checker → · Palette generator →

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