#7A29B8#7A29B8

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

Color values

HEX#7A29B8
RGBrgb(122, 41, 184)
HSLhsl(274, 64%, 44%)
HSVhsv(274, 78%, 72%)
CMYKcmyk(33.7%, 77.7%, 0%, 27.8%)
CIE-LABlab(36.34, 58.69, -60.04)
CIE-LCHlch(36.34, 83.96, 314.35°)
OKLaboklab(47.78% 0.1209 -0.171)
OKLCHoklch(47.78% 0.209 305.3)
XYZxyz(17.4688, 9.1843, 46.1906)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29B8 #67B829
analogous
#3229B8 #7A29B8 #B829AF
triadic
#7A29B8 #B87A29 #29B87A
tetradic
#7A29B8 #B83229 #67B829 #29AFB8
square
#7A29B8 #B83229 #67B829 #29AFB8
split-complementary
#7A29B8 #AFB829 #29B832
monochromatic
#381354 #591E86 #7A29B8 #9948D6 #B57AE1

Accessibility & contrast

On white

7.40
#7A29B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7A29B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29B8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29B8#FFFFFF#000000##FFFFFF
##7A29B81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#6E4E70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a29b8;
/* rgb */ color: rgb(122, 41, 184);
/* oklch */ color: oklch(47.8% 0.209 305.3);
Tailwind
colors: {
  custom: {
    50: '#a66cce',
    500: '#7a29b8',
    950: '#000000',
  },
}
SCSS
$custom: #7a29b8;
$custom-light: #a66cce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29b8",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 273.986,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47778,
    "c": 0.20941,
    "h": 305.3
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#7A29B8
secondary
#99C973
accent
#E74189
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7A29B8

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

Preview Lab → · Contrast checker → · Palette generator →

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