#7D52EA#7D52EA

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

Color values

HEX#7D52EA
RGBrgb(125, 82, 234)
HSLhsl(257, 78%, 62%)
HSVhsv(257, 65%, 92%)
CMYKcmyk(46.6%, 65%, 0%, 8.2%)
CIE-LABlab(47.41, 52.59, -70.84)
CIE-LCHlch(47.41, 88.22, 306.59°)
OKLaboklab(56.94% 0.0774 -0.2028)
OKLCHoklch(56.94% 0.217 290.9)
XYZxyz(26.3218, 16.3341, 79.5919)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52EA #BFEA52
analogous
#5273EA #7D52EA #C952EA
triadic
#7D52EA #EA7D52 #52EA7D
tetradic
#7D52EA #EA5273 #BFEA52 #52EAC9
square
#7D52EA #EA5273 #BFEA52 #52EAC9
split-complementary
#7D52EA #EAC952 #73EA52
monochromatic
#4015AD #541CE3 #7D52EA #A689F1 #CFBFF7

Accessibility & contrast

On white

4.92
#7D52EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7D52EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52EA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52EA#FFFFFF#000000##FFFFFF
##7D52EA1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#5B7797
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d52ea;
/* rgb */ color: rgb(125, 82, 234);
/* oklch */ color: oklch(56.9% 0.217 290.9);
Tailwind
colors: {
  custom: {
    50: '#ab85f2',
    500: '#7d52ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d52ea;
$custom-light: #ab85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52ea",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 256.974,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.21707,
    "h": 290.9
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#7D52EA
secondary
#D8E8B0
accent
#DB0BA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D52EA

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

Preview Lab → · Contrast checker → · Palette generator →

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