#7A52ED#7A52ED

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

Color values

HEX#7A52ED
RGBrgb(122, 82, 237)
HSLhsl(255, 81%, 63%)
HSVhsv(255, 65%, 93%)
CMYKcmyk(48.5%, 65.4%, 0%, 7.1%)
CIE-LABlab(47.35, 52.88, -72.64)
CIE-LCHlch(47.35, 89.85, 306.05°)
OKLaboklab(56.89% 0.073 -0.2082)
OKLCHoklch(56.89% 0.221 289.3)
XYZxyz(26.3250, 16.2855, 81.8607)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A52ED #C5ED52
analogous
#5277ED #7A52ED #C852ED
triadic
#7A52ED #ED7A52 #52ED7A
tetradic
#7A52ED #ED5277 #C5ED52 #52EDC8
square
#7A52ED #ED5277 #C5ED52 #52EDC8
split-complementary
#7A52ED #EDC852 #77ED52
monochromatic
#3C13B2 #4F1BE7 #7A52ED #A589F3 #CFC1F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A52ED#FFFFFF#000000##FFFFFF
##7A52ED1.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)
#0073F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#537899
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a52ed;
/* rgb */ color: rgb(122, 82, 237);
/* oklch */ color: oklch(56.9% 0.221 289.3);
Tailwind
colors: {
  custom: {
    50: '#a985f4',
    500: '#7a52ed',
    950: '#000000',
  },
}
SCSS
$custom: #7a52ed;
$custom-light: #a985f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a52ed",
  "rgb": {
    "r": 122,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 255.484,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56892,
    "c": 0.22064,
    "h": 289.3
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#7A52ED
secondary
#DBEAB1
accent
#DE08A6
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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