#7C52EF#7C52EF

#7C52EF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.223 H 289.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7C52EF
RGBrgb(124, 82, 239)
HSLhsl(256, 83%, 63%)
HSVhsv(256, 66%, 94%)
CMYKcmyk(48.1%, 65.7%, 0%, 6.3%)
CIE-LABlab(47.69, 53.78, -73.20)
CIE-LCHlch(47.69, 90.83, 306.30°)
OKLaboklab(57.23% 0.0754 -0.2098)
OKLCHoklch(57.23% 0.223 289.8)
XYZxyz(26.9050, 16.5506, 83.4216)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52EF #C5EF52
analogous
#5276EF #7C52EF #CA52EF
triadic
#7C52EF #EF7C52 #52EF7C
tetradic
#7C52EF #EF5276 #C5EF52 #52EFCA
square
#7C52EF #EF5276 #C5EF52 #52EFCA
split-complementary
#7C52EF #EFCA52 #76EF52
monochromatic
#3D11B6 #521AEA #7C52EF #A68AF4 #D1C2F9

Accessibility & contrast

On white

4.87
#7C52EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7C52EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52EF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52EF#FFFFFF#000000##FFFFFF
##7C52EF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#56799A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c52ef;
/* rgb */ color: rgb(124, 82, 239);
/* oklch */ color: oklch(57.2% 0.223 289.8);
Tailwind
colors: {
  custom: {
    50: '#ab85f5',
    500: '#7c52ef',
    950: '#000000',
  },
}
SCSS
$custom: #7c52ef;
$custom-light: #ab85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52ef",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 256.051,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57231,
    "c": 0.22294,
    "h": 289.8
  },
  "luminance": 0.16552
}

Semantic roles & 50–950 ramp

primary
#7C52EF
secondary
#DCEBB2
accent
#DF06A5
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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