#7D29B2#7D29B2

#7D29B2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.204 H 308.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7D29B2
RGBrgb(125, 41, 178)
HSLhsl(277, 63%, 43%)
HSVhsv(277, 77%, 70%)
CMYKcmyk(29.8%, 77%, 0%, 30.2%)
CIE-LABlab(36.29, 57.88, -56.54)
CIE-LCHlch(36.29, 80.91, 315.67°)
OKLaboklab(47.69% 0.1264 -0.1606)
OKLCHoklch(47.69% 0.204 308.2)
XYZxyz(17.2846, 9.1605, 42.9684)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29B2 #5EB229
analogous
#3829B2 #7D29B2 #B229A2
triadic
#7D29B2 #B27D29 #29B27D
tetradic
#7D29B2 #B23829 #5EB229 #29A2B2
square
#7D29B2 #B23829 #5EB229 #29A2B2
split-complementary
#7D29B2 #A2B229 #29B238
monochromatic
#37124F #5A1E80 #7D29B2 #9C44D4 #B776DF

Accessibility & contrast

On white

7.42
#7D29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7D29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29B2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29B2#FFFFFF#000000##FFFFFF
##7D29B21.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#744B6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d29b2;
/* rgb */ color: rgb(125, 41, 178);
/* oklch */ color: oklch(47.7% 0.204 308.2);
Tailwind
colors: {
  custom: {
    50: '#a86cca',
    500: '#7d29b2',
    950: '#000000',
  },
}
SCSS
$custom: #7d29b2;
$custom-light: #a86cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29b2",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 276.788,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47689,
    "c": 0.20438,
    "h": 308.2
  },
  "luminance": 0.0916
}

Semantic roles & 50–950 ramp

primary
#7D29B2
secondary
#92C770
accent
#E64281
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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