#7C52D8#7C52D8

#7C52D8 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.196 H 293.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C52D8
RGBrgb(124, 82, 216)
HSLhsl(259, 63%, 58%)
HSVhsv(259, 62%, 85%)
CMYKcmyk(42.6%, 62%, 0%, 15.3%)
CIE-LABlab(46.01, 47.51, -62.90)
CIE-LCHlch(46.01, 78.83, 307.06°)
OKLaboklab(55.49% 0.0778 -0.1795)
OKLCHoklch(55.49% 0.196 293.4)
XYZxyz(23.7208, 15.2769, 66.6514)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52D8 #AED852
analogous
#526BD8 #7C52D8 #BF52D8
triadic
#7C52D8 #D87C52 #52D87C
tetradic
#7C52D8 #D8526B #AED852 #52D8BF
square
#7C52D8 #D8526B #AED852 #52D8BF
split-complementary
#7C52D8 #D8BF52 #6BD852
monochromatic
#43208F #5A2CC1 #7C52D8 #A284E3 #C8B6EF

Accessibility & contrast

On white

5.18
#7C52D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7C52D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52D8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52D8#FFFFFF#000000##FFFFFF
##7C52D81.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#63718D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c52d8;
/* rgb */ color: rgb(124, 82, 216);
/* oklch */ color: oklch(55.5% 0.196 293.4);
Tailwind
colors: {
  custom: {
    50: '#a885e5',
    500: '#7c52d8',
    950: '#000000',
  },
}
SCSS
$custom: #7c52d8;
$custom-light: #a885e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52d8",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 258.806,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55491,
    "c": 0.19564,
    "h": 293.4
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#7C52D8
secondary
#CDDDA8
accent
#E642B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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