#7E29B2#7E29B2

#7E29B2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.205 H 308.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7E29B2
RGBrgb(126, 41, 178)
HSLhsl(277, 63%, 43%)
HSVhsv(277, 77%, 70%)
CMYKcmyk(29.2%, 77%, 0%, 30.2%)
CIE-LABlab(36.44, 58.06, -56.30)
CIE-LCHlch(36.44, 80.88, 315.88°)
OKLaboklab(47.82% 0.1278 -0.1599)
OKLCHoklch(47.82% 0.205 308.6)
XYZxyz(17.4313, 9.2362, 42.9753)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29B2 #5DB229
analogous
#3929B2 #7E29B2 #B229A1
triadic
#7E29B2 #B27E29 #29B27E
tetradic
#7E29B2 #B23929 #5DB229 #29A1B2
square
#7E29B2 #B23929 #5DB229 #29A1B2
split-complementary
#7E29B2 #A1B229 #29B239
monochromatic
#38124F #5B1E80 #7E29B2 #9D44D4 #B776DF

Accessibility & contrast

On white

7.38
#7E29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7E29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29B2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29B2#FFFFFF#000000##FFFFFF
##7E29B21.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#764B6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e29b2;
/* rgb */ color: rgb(126, 41, 178);
/* oklch */ color: oklch(47.8% 0.205 308.6);
Tailwind
colors: {
  custom: {
    50: '#a86cca',
    500: '#7e29b2',
    950: '#000000',
  },
}
SCSS
$custom: #7e29b2;
$custom-light: #a86cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29b2",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 277.226,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.20465,
    "h": 308.6
  },
  "luminance": 0.09236
}

Semantic roles & 50–950 ramp

primary
#7E29B2
secondary
#91C770
accent
#E64280
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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