#7C52DF#7C52DF

#7C52DF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.204 H 292.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7C52DF
RGBrgb(124, 82, 223)
HSLhsl(258, 69%, 60%)
HSVhsv(258, 63%, 87%)
CMYKcmyk(44.4%, 63.2%, 0%, 12.5%)
CIE-LABlab(46.51, 49.41, -66.08)
CIE-LCHlch(46.51, 82.51, 306.78°)
OKLaboklab(56.01% 0.0772 -0.1889)
OKLCHoklch(56.01% 0.204 292.2)
XYZxyz(24.6451, 15.6466, 71.5193)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52DF #B5DF52
analogous
#526FDF #7C52DF #C252DF
triadic
#7C52DF #DF7C52 #52DF7C
tetradic
#7C52DF #DF526F #B5DF52 #52DFC2
square
#7C52DF #DF526F #B5DF52 #52DFC2
split-complementary
#7C52DF #DFC252 #6FDF52
monochromatic
#421D9A #5826CE #7C52DF #A386E9 #CAB9F2

Accessibility & contrast

On white

5.09
#7C52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7C52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52DF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52DF#FFFFFF#000000##FFFFFF
##7C52DF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#5F7391
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c52df;
/* rgb */ color: rgb(124, 82, 223);
/* oklch */ color: oklch(56.0% 0.204 292.2);
Tailwind
colors: {
  custom: {
    50: '#a985ea',
    500: '#7c52df',
    950: '#000000',
  },
}
SCSS
$custom: #7c52df;
$custom-light: #a985ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52df",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 257.872,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.20404,
    "h": 292.2
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

primary
#7C52DF
secondary
#D1E2AB
accent
#EC3CB7
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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