#7D52AE#7D52AE

#7D52AE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.8% C 0.144 H 303.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7D52AE
RGBrgb(125, 82, 174)
HSLhsl(268, 36%, 50%)
HSVhsv(268, 53%, 68%)
CMYKcmyk(28.2%, 52.9%, 0%, 31.8%)
CIE-LABlab(43.43, 36.75, -42.68)
CIE-LCHlch(43.43, 56.32, 310.73°)
OKLaboklab(52.77% 0.0793 -0.1201)
OKLCHoklch(52.77% 0.144 303.4)
XYZxyz(19.1130, 13.4506, 41.6255)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52AE #83AE52
analogous
#5255AE #7D52AE #AB52AE
triadic
#7D52AE #AE7D52 #52AE7D
tetradic
#7D52AE #AE5255 #83AE52 #52AEAB
square
#7D52AE #AE5255 #83AE52 #52AEAB
split-complementary
#7D52AE #AEAB52 #55AE52
monochromatic
#412B5B #5F3E85 #7D52AE #9C7CC2 #BCA5D5

Accessibility & contrast

On white

5.69
#7D52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7D52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52AE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52AE#FFFFFF#000000##FFFFFF
##7D52AE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B1
Deuteranopia (green-blind)
#4067AC
Tritanopia (blue-blind)
#746378
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d52ae;
/* rgb */ color: rgb(125, 82, 174);
/* oklch */ color: oklch(52.8% 0.144 303.4);
Tailwind
colors: {
  custom: {
    50: '#a584c7',
    500: '#7d52ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d52ae;
$custom-light: #a584c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52ae",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 268.043,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.14391,
    "h": 303.4
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#7D52AE
secondary
#AFC299
accent
#CC5C98
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7D52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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