#7D52CD#7D52CD

#7D52CD is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.182 H 295.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D52CD
RGBrgb(125, 82, 205)
HSLhsl(261, 55%, 56%)
HSVhsv(261, 60%, 80%)
CMYKcmyk(39%, 60%, 0%, 19.6%)
CIE-LABlab(45.36, 44.77, -57.64)
CIE-LCHlch(45.36, 72.99, 307.84°)
OKLaboklab(54.8% 0.0797 -0.164)
OKLCHoklch(54.8% 0.182 295.9)
XYZxyz(22.4913, 14.8019, 59.4178)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52CD #A2CD52
analogous
#5265CD #7D52CD #BB52CD
triadic
#7D52CD #CD7D52 #52CD7D
tetradic
#7D52CD #CD5265 #A2CD52 #52CDBB
square
#7D52CD #CD5265 #A2CD52 #52CDBB
split-complementary
#7D52CD #CDBB52 #65CD52
monochromatic
#452580 #5E33AF #7D52CD #A181DB #C4B1E8

Accessibility & contrast

On white

5.30
#7D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7D52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52CD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52CD#FFFFFF#000000##FFFFFF
##7D52CD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#176ACA
Tritanopia (blue-blind)
#696D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d52cd;
/* rgb */ color: rgb(125, 82, 205);
/* oklch */ color: oklch(54.8% 0.182 295.9);
Tailwind
colors: {
  custom: {
    50: '#a884dd',
    500: '#7d52cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d52cd;
$custom-light: #a884dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52cd",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 260.976,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.18236,
    "h": 295.9
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#7D52CD
secondary
#C5D7A4
accent
#DE49AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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