#7E29A2#7E29A2

#7E29A2 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.190 H 313.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7E29A2
RGBrgb(126, 41, 162)
HSLhsl(282, 60%, 40%)
HSVhsv(282, 75%, 64%)
CMYKcmyk(22.2%, 74.7%, 0%, 36.5%)
CIE-LABlab(35.26, 54.64, -48.62)
CIE-LCHlch(35.26, 73.14, 318.34°)
OKLaboklab(46.62% 0.1306 -0.1373)
OKLCHoklch(46.62% 0.19 313.6)
XYZxyz(15.9176, 8.6306, 35.0028)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29A2 #4DA229
analogous
#4229A2 #7E29A2 #A22989
triadic
#7E29A2 #A27E29 #29A27E
tetradic
#7E29A2 #A24229 #4DA229 #2989A2
square
#7E29A2 #A24229 #4DA229 #2989A2
split-complementary
#7E29A2 #89A229 #29A242
monochromatic
#321040 #581D71 #7E29A2 #A23BCD #B96CDA

Accessibility & contrast

On white

7.70
#7E29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7E29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29A2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29A2#FFFFFF#000000##FFFFFF
##7E29A21.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#1F559F
Tritanopia (blue-blind)
#7A4464
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e29a2;
/* rgb */ color: rgb(126, 41, 162);
/* oklch */ color: oklch(46.6% 0.190 313.6);
Tailwind
colors: {
  custom: {
    50: '#a76cbe',
    500: '#7e29a2',
    950: '#000000',
  },
}
SCSS
$custom: #7e29a2;
$custom-light: #a76cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29a2",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 282.149,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46623,
    "c": 0.18952,
    "h": 313.6
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#7E29A2
secondary
#81C067
accent
#E34574
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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