#7E2783#7E2783

#7E2783 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.164 H 325.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7E2783
RGBrgb(126, 39, 131)
HSLhsl(297, 54%, 33%)
HSVhsv(297, 70%, 51%)
CMYKcmyk(3.8%, 70.2%, 0%, 48.6%)
CIE-LABlab(32.98, 49.30, -33.30)
CIE-LCHlch(32.98, 59.49, 325.96°)
OKLaboklab(44.35% 0.135 -0.0925)
OKLCHoklch(44.35% 0.164 325.6)
XYZxyz(13.4261, 7.5262, 22.2139)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2783 #2C8327
analogous
#502783 #7E2783 #83275A
triadic
#7E2783 #837E27 #27837E
tetradic
#7E2783 #835027 #2C8327 #275A83
square
#7E2783 #835027 #2C8327 #275A83
split-complementary
#7E2783 #5A8327 #278350
monochromatic
#230B25 #511954 #7E2783 #AB35B2 #C757CD

Accessibility & contrast

On white

8.38
#7E2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7E2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2783
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2783#FFFFFF#000000##FFFFFF
##7E27831.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134786
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#813552
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2783;
/* rgb */ color: rgb(126, 39, 131);
/* oklch */ color: oklch(44.3% 0.164 325.6);
Tailwind
colors: {
  custom: {
    50: '#a669a7',
    500: '#7e2783',
    950: '#000000',
  },
}
SCSS
$custom: #7e2783;
$custom-light: #a669a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2783",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 296.739,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.16363,
    "h": 325.6
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#7E2783
secondary
#59B254
accent
#DD4A52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E2783

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

Preview Lab → · Contrast checker → · Palette generator →

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