#7E2983#7E2983

#7E2983 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.161 H 325.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7E2983
RGBrgb(126, 41, 131)
HSLhsl(297, 52%, 34%)
HSVhsv(297, 69%, 51%)
CMYKcmyk(3.8%, 68.7%, 0%, 48.6%)
CIE-LABlab(33.27, 48.48, -32.84)
CIE-LCHlch(33.27, 58.55, 325.89°)
OKLaboklab(44.56% 0.1327 -0.0911)
OKLCHoklch(44.56% 0.161 325.5)
XYZxyz(13.4936, 7.6610, 22.2363)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2983 #2E8329
analogous
#512983 #7E2983 #83295B
triadic
#7E2983 #837E29 #29837E
tetradic
#7E2983 #835129 #2E8329 #295B83
square
#7E2983 #835129 #2E8329 #295B83
split-complementary
#7E2983 #5B8329 #298351
monochromatic
#240C26 #511A54 #7E2983 #AB38B2 #C55BCC

Accessibility & contrast

On white

8.29
#7E2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7E2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2983
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2983#FFFFFF#000000##FFFFFF
##7E29831.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174786
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#813752
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2983;
/* rgb */ color: rgb(126, 41, 131);
/* oklch */ color: oklch(44.6% 0.161 325.5);
Tailwind
colors: {
  custom: {
    50: '#a66aa7',
    500: '#7e2983',
    950: '#000000',
  },
}
SCSS
$custom: #7e2983;
$custom-light: #a66aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2983",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 296.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44559,
    "c": 0.16099,
    "h": 325.5
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#7E2983
secondary
#5CB157
accent
#DC4C54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E2983

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

Preview Lab → · Contrast checker → · Palette generator →

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