#7A52EF#7A52EF

#7A52EF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.223 H 289.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7A52EF
RGBrgb(122, 82, 239)
HSLhsl(255, 83%, 63%)
HSVhsv(255, 66%, 94%)
CMYKcmyk(49%, 65.7%, 0%, 6.3%)
CIE-LABlab(47.50, 53.43, -73.52)
CIE-LCHlch(47.50, 90.88, 306.01°)
OKLaboklab(57.05% 0.0728 -0.2108)
OKLCHoklch(57.05% 0.223 289)
XYZxyz(26.6188, 16.4030, 83.4082)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A52EF #C7EF52
analogous
#5278EF #7A52EF #C952EF
triadic
#7A52EF #EF7A52 #52EF7A
tetradic
#7A52EF #EF5278 #C7EF52 #52EFC9
square
#7A52EF #EF5278 #C7EF52 #52EFC9
split-complementary
#7A52EF #EFC952 #78EF52
monochromatic
#3B11B6 #4F1AEA #7A52EF #A58AF4 #D0C2F9

Accessibility & contrast

On white

4.91
#7A52EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7A52EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A52EF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A52EF#FFFFFF#000000##FFFFFF
##7A52EF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a52ef;
/* rgb */ color: rgb(122, 82, 239);
/* oklch */ color: oklch(57.0% 0.223 289.0);
Tailwind
colors: {
  custom: {
    50: '#aa85f5',
    500: '#7a52ef',
    950: '#000000',
  },
}
SCSS
$custom: #7a52ef;
$custom-light: #aa85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a52ef",
  "rgb": {
    "r": 122,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 255.287,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57049,
    "c": 0.22299,
    "h": 289
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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