#7D29BA#7D29BA

#7D29BA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.212 H 306.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7D29BA
RGBrgb(125, 41, 186)
HSLhsl(275, 64%, 45%)
HSVhsv(275, 78%, 73%)
CMYKcmyk(32.8%, 78%, 0%, 27.1%)
CIE-LABlab(36.91, 59.65, -60.27)
CIE-LCHlch(36.91, 84.79, 314.70°)
OKLaboklab(48.32% 0.1246 -0.1715)
OKLCHoklch(48.32% 0.212 306)
XYZxyz(18.1113, 9.4912, 47.3227)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29BA #66BA29
analogous
#3529BA #7D29BA #BA29AF
triadic
#7D29BA #BA7D29 #29BA7D
tetradic
#7D29BA #BA3529 #66BA29 #29AFBA
square
#7D29BA #BA3529 #66BA29 #29AFBA
split-complementary
#7D29BA #AFBA29 #29BA35
monochromatic
#3A1356 #5B1E88 #7D29BA #9B49D7 #B77BE2

Accessibility & contrast

On white

7.25
#7D29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7D29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29BA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29BA#FFFFFF#000000##FFFFFF
##7D29BA1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#724E71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d29ba;
/* rgb */ color: rgb(125, 41, 186);
/* oklch */ color: oklch(48.3% 0.212 306.0);
Tailwind
colors: {
  custom: {
    50: '#a86dd0',
    500: '#7d29ba',
    950: '#000000',
  },
}
SCSS
$custom: #7d29ba;
$custom-light: #a86dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29ba",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 274.759,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4832,
    "c": 0.21201,
    "h": 306
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#7D29BA
secondary
#99CA75
accent
#E74187
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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