#7D52AF#7D52AF

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

Color values

HEX#7D52AF
RGBrgb(125, 82, 175)
HSLhsl(268, 37%, 50%)
HSVhsv(268, 53%, 69%)
CMYKcmyk(28.6%, 53.1%, 0%, 31.4%)
CIE-LABlab(43.49, 37.00, -43.18)
CIE-LCHlch(43.49, 56.86, 310.59°)
OKLaboklab(52.83% 0.0793 -0.1216)
OKLCHoklch(52.83% 0.145 303.1)
XYZxyz(19.2109, 13.4897, 42.1408)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52AF #84AF52
analogous
#5255AF #7D52AF #AB52AF
triadic
#7D52AF #AF7D52 #52AF7D
tetradic
#7D52AF #AF5255 #84AF52 #52AFAB
square
#7D52AF #AF5255 #84AF52 #52AFAB
split-complementary
#7D52AF #AFAB52 #55AF52
monochromatic
#412B5C #5F3E86 #7D52AF #9C7CC2 #BCA6D6

Accessibility & contrast

On white

5.68
#7D52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7D52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52AF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52AF#FFFFFF#000000##FFFFFF
##7D52AF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#3F67AD
Tritanopia (blue-blind)
#746379
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d52af;
/* rgb */ color: rgb(125, 82, 175);
/* oklch */ color: oklch(52.8% 0.145 303.1);
Tailwind
colors: {
  custom: {
    50: '#a584c7',
    500: '#7d52af',
    950: '#000000',
  },
}
SCSS
$custom: #7d52af;
$custom-light: #a584c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52af",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 267.742,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.14516,
    "h": 303.1
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#7D52AF
secondary
#B0C39A
accent
#CD5B98
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7D52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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