#7E52FD#7E52FD

#7E52FD is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.239 H 288.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7E52FD
RGBrgb(126, 82, 253)
HSLhsl(255, 98%, 66%)
HSVhsv(255, 68%, 99%)
CMYKcmyk(50.2%, 67.6%, 0%, 0.8%)
CIE-LABlab(48.96, 57.94, -78.95)
CIE-LCHlch(48.96, 97.93, 306.28°)
OKLaboklab(58.52% 0.0761 -0.2266)
OKLCHoklch(58.52% 0.239 288.6)
XYZxyz(29.3459, 17.5607, 94.7527)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E52FD #D1FD52
analogous
#527BFD #7E52FD #D452FD
triadic
#7E52FD #FD7E52 #52FD7E
tetradic
#7E52FD #FD527B #D1FD52 #52FDD4
square
#7E52FD #FD527B #D1FD52 #52FDD4
split-complementary
#7E52FD #FDD452 #7BFD52
monochromatic
#3802D2 #5115FC #7E52FD #AB8EFE #D8CBFE

Accessibility & contrast

On white

4.65
#7E52FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7E52FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E52FD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E52FD#FFFFFF#000000##FFFFFF
##7E52FD1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0070FA
Tritanopia (blue-blind)
#507EA1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e52fd;
/* rgb */ color: rgb(126, 82, 253);
/* oklch */ color: oklch(58.5% 0.239 288.6);
Tailwind
colors: {
  custom: {
    50: '#ae86ff',
    500: '#7e52fd',
    950: '#000000',
  },
}
SCSS
$custom: #7e52fd;
$custom-light: #ae86ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e52fd",
  "rgb": {
    "r": 126,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 255.439,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.23904,
    "h": 288.6
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#7E52FD
secondary
#E3F2B9
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7E52FD

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

Preview Lab → · Contrast checker → · Palette generator →

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