#7C52EB#7C52EB

#7C52EB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.218 H 290.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7C52EB
RGBrgb(124, 82, 235)
HSLhsl(256, 79%, 62%)
HSVhsv(256, 65%, 92%)
CMYKcmyk(47.2%, 65.1%, 0%, 7.8%)
CIE-LABlab(47.39, 52.68, -71.44)
CIE-LCHlch(47.39, 88.76, 306.41°)
OKLaboklab(56.92% 0.0759 -0.2046)
OKLCHoklch(56.92% 0.218 290.4)
XYZxyz(26.3206, 16.3168, 80.3438)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52EB #C1EB52
analogous
#5274EB #7C52EB #C952EB
triadic
#7C52EB #EB7C52 #52EB7C
tetradic
#7C52EB #EB5274 #C1EB52 #52EBC9
square
#7C52EB #EB5274 #C1EB52 #52EBC9
split-complementary
#7C52EB #EBC952 #74EB52
monochromatic
#3F14AE #521BE5 #7C52EB #A689F1 #CFC0F8

Accessibility & contrast

On white

4.93
#7C52EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7C52EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52EB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52EB#FFFFFF#000000##FFFFFF
##7C52EB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#587798
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c52eb;
/* rgb */ color: rgb(124, 82, 235);
/* oklch */ color: oklch(56.9% 0.218 290.4);
Tailwind
colors: {
  custom: {
    50: '#aa85f2',
    500: '#7c52eb',
    950: '#000000',
  },
}
SCSS
$custom: #7c52eb;
$custom-light: #aa85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52eb",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 256.471,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5692,
    "c": 0.21825,
    "h": 290.4
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#7C52EB
secondary
#D9E8B0
accent
#DC0AA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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