#7C52CD#7C52CD

#7C52CD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.182 H 295.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7C52CD
RGBrgb(124, 82, 205)
HSLhsl(260, 55%, 56%)
HSVhsv(260, 60%, 80%)
CMYKcmyk(39.5%, 60%, 0%, 19.6%)
CIE-LABlab(45.26, 44.55, -57.81)
CIE-LCHlch(45.26, 72.99, 307.62°)
OKLaboklab(54.7% 0.0784 -0.1645)
OKLCHoklch(54.7% 0.182 295.5)
XYZxyz(22.3460, 14.7270, 59.4110)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52CD #A3CD52
analogous
#5266CD #7C52CD #BA52CD
triadic
#7C52CD #CD7C52 #52CD7C
tetradic
#7C52CD #CD5266 #A3CD52 #52CDBA
square
#7C52CD #CD5266 #A3CD52 #52CDBA
split-complementary
#7C52CD #CDBA52 #66CD52
monochromatic
#442580 #5D33AF #7C52CD #A081DB #C4B1E8

Accessibility & contrast

On white

5.32
#7C52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7C52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52CD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52CD#FFFFFF#000000##FFFFFF
##7C52CD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#1569CA
Tritanopia (blue-blind)
#686D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c52cd;
/* rgb */ color: rgb(124, 82, 205);
/* oklch */ color: oklch(54.7% 0.182 295.5);
Tailwind
colors: {
  custom: {
    50: '#a784dd',
    500: '#7c52cd',
    950: '#000000',
  },
}
SCSS
$custom: #7c52cd;
$custom-light: #a784dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52cd",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 260.488,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.18227,
    "h": 295.5
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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