#7C52DA#7C52DA

#7C52DA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.198 H 293.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C52DA
RGBrgb(124, 82, 218)
HSLhsl(259, 65%, 59%)
HSVhsv(259, 62%, 85%)
CMYKcmyk(43.1%, 62.4%, 0%, 14.5%)
CIE-LABlab(46.15, 48.05, -63.81)
CIE-LCHlch(46.15, 79.88, 306.98°)
OKLaboklab(55.64% 0.0776 -0.1822)
OKLCHoklch(55.64% 0.198 293.1)
XYZxyz(23.9809, 15.3809, 68.0214)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52DA #B0DA52
analogous
#526CDA #7C52DA #C052DA
triadic
#7C52DA #DA7C52 #52DA7C
tetradic
#7C52DA #DA526C #B0DA52 #52DAC0
square
#7C52DA #DA526C #B0DA52 #52DAC0
split-complementary
#7C52DA #DAC052 #6CDA52
monochromatic
#431F92 #5A2AC5 #7C52DA #A284E5 #C8B7F0

Accessibility & contrast

On white

5.15
#7C52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7C52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52DA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52DA#FFFFFF#000000##FFFFFF
##7C52DA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#62718E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c52da;
/* rgb */ color: rgb(124, 82, 218);
/* oklch */ color: oklch(55.6% 0.198 293.1);
Tailwind
colors: {
  custom: {
    50: '#a885e6',
    500: '#7c52da',
    950: '#000000',
  },
}
SCSS
$custom: #7c52da;
$custom-light: #a885e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52da",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 258.529,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.19805,
    "h": 293.1
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#7C52DA
secondary
#CEDFA9
accent
#E840B4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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