#7A52EC#7A52EC

#7A52EC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.219 H 289.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7A52EC
RGBrgb(122, 82, 236)
HSLhsl(256, 80%, 62%)
HSVhsv(256, 65%, 93%)
CMYKcmyk(48.3%, 65.3%, 0%, 7.5%)
CIE-LABlab(47.27, 52.60, -72.20)
CIE-LCHlch(47.27, 89.33, 306.07°)
OKLaboklab(56.81% 0.0731 -0.2069)
OKLCHoklch(56.81% 0.219 289.5)
XYZxyz(26.1793, 16.2272, 81.0934)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A52EC #C4EC52
analogous
#5277EC #7A52EC #C752EC
triadic
#7A52EC #EC7A52 #52EC7A
tetradic
#7A52EC #EC5277 #C4EC52 #52ECC7
square
#7A52EC #EC5277 #C4EC52 #52ECC7
split-complementary
#7A52EC #ECC752 #77EC52
monochromatic
#3C13B0 #501BE6 #7A52EC #A489F2 #CFC0F8

Accessibility & contrast

On white

4.95
#7A52EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7A52EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A52EC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A52EC#FFFFFF#000000##FFFFFF
##7A52EC1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#547898
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a52ec;
/* rgb */ color: rgb(122, 82, 236);
/* oklch */ color: oklch(56.8% 0.219 289.5);
Tailwind
colors: {
  custom: {
    50: '#a985f3',
    500: '#7a52ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a52ec;
$custom-light: #a985f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a52ec",
  "rgb": {
    "r": 122,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 255.584,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56814,
    "c": 0.21947,
    "h": 289.5
  },
  "luminance": 0.16228
}

Semantic roles & 50–950 ramp

primary
#7A52EC
secondary
#DAE9B1
accent
#DD09A6
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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