#7D29BC#7D29BC

#7D29BC is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.214 H 305.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7D29BC
RGBrgb(125, 41, 188)
HSLhsl(274, 64%, 45%)
HSVhsv(274, 78%, 74%)
CMYKcmyk(33.5%, 78.2%, 0%, 26.3%)
CIE-LABlab(37.07, 60.09, -61.19)
CIE-LCHlch(37.07, 85.76, 314.48°)
OKLaboklab(48.48% 0.1241 -0.1743)
OKLCHoklch(48.48% 0.214 305.5)
XYZxyz(18.3254, 9.5768, 48.4503)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29BC #68BC29
analogous
#3429BC #7D29BC #BC29B1
triadic
#7D29BC #BC7D29 #29BC7D
tetradic
#7D29BC #BC3429 #68BC29 #29B1BC
square
#7D29BC #BC3429 #68BC29 #29B1BC
split-complementary
#7D29BC #B1BC29 #29BC34
monochromatic
#3A1358 #5C1E8A #7D29BC #9B4BD8 #B77DE3

Accessibility & contrast

On white

7.20
#7D29BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7D29BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29BC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29BC#FFFFFF#000000##FFFFFF
##7D29BC1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#714F72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d29bc;
/* rgb */ color: rgb(125, 41, 188);
/* oklch */ color: oklch(48.5% 0.214 305.5);
Tailwind
colors: {
  custom: {
    50: '#a96dd1',
    500: '#7d29bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d29bc;
$custom-light: #a96dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29bc",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 274.286,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4848,
    "c": 0.21393,
    "h": 305.5
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#7D29BC
secondary
#9ACB76
accent
#E74188
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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