#7C52ED#7C52ED

#7C52ED is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.221 H 290.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7C52ED
RGBrgb(124, 82, 237)
HSLhsl(256, 81%, 63%)
HSVhsv(256, 65%, 93%)
CMYKcmyk(47.7%, 65.4%, 0%, 7.1%)
CIE-LABlab(47.54, 53.23, -72.32)
CIE-LCHlch(47.54, 89.80, 306.35°)
OKLaboklab(57.08% 0.0757 -0.2072)
OKLCHoklch(57.08% 0.221 290.1)
XYZxyz(26.6112, 16.4330, 81.8741)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52ED #C3ED52
analogous
#5276ED #7C52ED #C952ED
triadic
#7C52ED #ED7C52 #52ED7C
tetradic
#7C52ED #ED5276 #C3ED52 #52EDC9
square
#7C52ED #ED5276 #C3ED52 #52EDC9
split-complementary
#7C52ED #EDC952 #76ED52
monochromatic
#3E13B2 #521BE7 #7C52ED #A689F3 #D0C1F9

Accessibility & contrast

On white

4.90
#7C52ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7C52ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52ED
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52ED#FFFFFF#000000##FFFFFF
##7C52ED1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#577899
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c52ed;
/* rgb */ color: rgb(124, 82, 237);
/* oklch */ color: oklch(57.1% 0.221 290.1);
Tailwind
colors: {
  custom: {
    50: '#aa85f4',
    500: '#7c52ed',
    950: '#000000',
  },
}
SCSS
$custom: #7c52ed;
$custom-light: #aa85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52ed",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 256.258,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57075,
    "c": 0.2206,
    "h": 290.1
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#7C52ED
secondary
#DAEAB1
accent
#DE08A4
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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