#7C52F9#7C52F9

#7C52F9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.235 H 288.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7C52F9
RGBrgb(124, 82, 249)
HSLhsl(255, 93%, 65%)
HSVhsv(255, 67%, 98%)
CMYKcmyk(50.2%, 67.1%, 0%, 2.4%)
CIE-LABlab(48.46, 56.52, -77.54)
CIE-LCHlch(48.46, 95.96, 306.09°)
OKLaboklab(58.02% 0.074 -0.2225)
OKLCHoklch(58.02% 0.235 288.4)
XYZxyz(28.4234, 17.1579, 91.4183)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52F9 #CFF952
analogous
#527BF9 #7C52F9 #D052F9
triadic
#7C52F9 #F97C52 #52F97C
tetradic
#7C52F9 #F9527B #CFF952 #52F9D0
square
#7C52F9 #F9527B #CFF952 #52F9D0
split-complementary
#7C52F9 #F9D052 #7BF952
monochromatic
#3807CA #4F17F7 #7C52F9 #A98DFB #D6C8FD

Accessibility & contrast

On white

4.74
#7C52F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7C52F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52F9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52F9#FFFFFF#000000##FFFFFF
##7C52F91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FE
Deuteranopia (green-blind)
#006FF6
Tritanopia (blue-blind)
#4F7C9F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c52f9;
/* rgb */ color: rgb(124, 82, 249);
/* oklch */ color: oklch(58.0% 0.235 288.4);
Tailwind
colors: {
  custom: {
    50: '#ac85fc',
    500: '#7c52f9',
    950: '#000000',
  },
}
SCSS
$custom: #7c52f9;
$custom-light: #ac85fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52f9",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 249
  },
  "hsl": {
    "h": 255.09,
    "s": 93.296,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58024,
    "c": 0.23454,
    "h": 288.4
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#7C52F9
secondary
#E2F0B7
accent
#E600AC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7C52F9

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

Preview Lab → · Contrast checker → · Palette generator →

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