#7C52DD#7C52DD

#7C52DD is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.202 H 292.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7C52DD
RGBrgb(124, 82, 221)
HSLhsl(258, 67%, 59%)
HSVhsv(258, 63%, 87%)
CMYKcmyk(43.9%, 62.9%, 0%, 13.3%)
CIE-LABlab(46.36, 48.86, -65.18)
CIE-LCHlch(46.36, 81.46, 306.86°)
OKLaboklab(55.86% 0.0774 -0.1862)
OKLCHoklch(55.86% 0.202 292.6)
XYZxyz(24.3770, 15.5394, 70.1076)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52DD #B3DD52
analogous
#526EDD #7C52DD #C152DD
triadic
#7C52DD #DD7C52 #52DD7C
tetradic
#7C52DD #DD526E #B3DD52 #52DDC1
square
#7C52DD #DD526E #B3DD52 #52DDC1
split-complementary
#7C52DD #DDC152 #6EDD52
monochromatic
#421E97 #5928CA #7C52DD #A385E7 #C9B8F1

Accessibility & contrast

On white

5.11
#7C52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7C52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52DD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52DD#FFFFFF#000000##FFFFFF
##7C52DD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#607290
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c52dd;
/* rgb */ color: rgb(124, 82, 221);
/* oklch */ color: oklch(55.9% 0.202 292.6);
Tailwind
colors: {
  custom: {
    50: '#a985e8',
    500: '#7c52dd',
    950: '#000000',
  },
}
SCSS
$custom: #7c52dd;
$custom-light: #a985e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52dd",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 258.129,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55859,
    "c": 0.20165,
    "h": 292.6
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#7C52DD
secondary
#D0E0AA
accent
#EA3EB6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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