#7E2690#7E2690

#7E2690 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.176 H 320.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7E2690
RGBrgb(126, 38, 144)
HSLhsl(290, 58%, 36%)
HSVhsv(290, 74%, 56%)
CMYKcmyk(12.5%, 73.6%, 0%, 43.5%)
CIE-LABlab(33.64, 52.16, -40.28)
CIE-LCHlch(33.64, 65.90, 322.32°)
OKLaboklab(45.08% 0.1356 -0.1128)
OKLCHoklch(45.08% 0.176 320.2)
XYZxyz(14.3307, 7.8362, 27.1378)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2690 #389026
analogous
#492690 #7E2690 #90266D
triadic
#7E2690 #907E26 #26907E
tetradic
#7E2690 #904926 #389026 #266D90
square
#7E2690 #904926 #389026 #266D90
split-complementary
#7E2690 #6D9026 #269049
monochromatic
#290C2F #541960 #7E2690 #A833C0 #C05CD4

Accessibility & contrast

On white

8.18
#7E2690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7E2690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2690
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2690#FFFFFF#000000##FFFFFF
##7E26901.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#30528E
Tritanopia (blue-blind)
#7F3A59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e2690;
/* rgb */ color: rgb(126, 38, 144);
/* oklch */ color: oklch(45.1% 0.176 320.2);
Tailwind
colors: {
  custom: {
    50: '#a769b1',
    500: '#7e2690',
    950: '#000000',
  },
}
SCSS
$custom: #7e2690;
$custom-light: #a769b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2690",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 289.811,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.17641,
    "h": 320.2
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#7E2690
secondary
#69B959
accent
#E14661
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2690

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

Preview Lab → · Contrast checker → · Palette generator →

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