#7D52EC#7D52EC

#7D52EC is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.219 H 290.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D52EC
RGBrgb(125, 82, 236)
HSLhsl(257, 80%, 62%)
HSVhsv(257, 65%, 93%)
CMYKcmyk(47%, 65.3%, 0%, 7.5%)
CIE-LABlab(47.56, 53.14, -71.72)
CIE-LCHlch(47.56, 89.26, 306.53°)
OKLaboklab(57.09% 0.0771 -0.2054)
OKLCHoklch(57.09% 0.219 290.6)
XYZxyz(26.6108, 16.4497, 81.1136)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52EC #C1EC52
analogous
#5274EC #7D52EC #CA52EC
triadic
#7D52EC #EC7D52 #52EC7D
tetradic
#7D52EC #EC5274 #C1EC52 #52ECCA
square
#7D52EC #EC5274 #C1EC52 #52ECCA
split-complementary
#7D52EC #ECCA52 #74EC52
monochromatic
#3F13B0 #541BE6 #7D52EC #A689F2 #D0C0F8

Accessibility & contrast

On white

4.89
#7D52EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7D52EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52EC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52EC#FFFFFF#000000##FFFFFF
##7D52EC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#597898
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d52ec;
/* rgb */ color: rgb(125, 82, 236);
/* oklch */ color: oklch(57.1% 0.219 290.6);
Tailwind
colors: {
  custom: {
    50: '#ab85f3',
    500: '#7d52ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d52ec;
$custom-light: #ab85f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52ec",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 256.753,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.21942,
    "h": 290.6
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#7D52EC
secondary
#D9E9B1
accent
#DD09A1
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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