#7C52FD#7C52FD

#7C52FD is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.239 H 287.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7C52FD
RGBrgb(124, 82, 253)
HSLhsl(255, 98%, 66%)
HSVhsv(255, 68%, 99%)
CMYKcmyk(51%, 67.6%, 0%, 0.8%)
CIE-LABlab(48.77, 57.62, -79.26)
CIE-LCHlch(48.77, 97.99, 306.02°)
OKLaboklab(58.35% 0.0734 -0.2276)
OKLCHoklch(58.35% 0.239 287.9)
XYZxyz(29.0539, 17.4101, 94.7391)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52FD #D3FD52
analogous
#527DFD #7C52FD #D152FD
triadic
#7C52FD #FD7C52 #52FD7C
tetradic
#7C52FD #FD527D #D3FD52 #52FDD1
square
#7C52FD #FD527D #D3FD52 #52FDD1
split-complementary
#7C52FD #FDD152 #7DFD52
monochromatic
#3502D2 #4E15FC #7C52FD #AA8EFE #D8CBFE

Accessibility & contrast

On white

4.68
#7C52FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7C52FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52FD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52FD#FFFFFF#000000##FFFFFF
##7C52FD1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006FFA
Tritanopia (blue-blind)
#4B7EA1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c52fd;
/* rgb */ color: rgb(124, 82, 253);
/* oklch */ color: oklch(58.3% 0.239 287.9);
Tailwind
colors: {
  custom: {
    50: '#ac86ff',
    500: '#7c52fd',
    950: '#000000',
  },
}
SCSS
$custom: #7c52fd;
$custom-light: #ac86ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52fd",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 254.737,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.23913,
    "h": 287.9
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#7C52FD
secondary
#E4F2B9
accent
#E600AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7C52FD

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

Preview Lab → · Contrast checker → · Palette generator →

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