#7E52F0#7E52F0

#7E52F0 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.224 H 290.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7E52F0
RGBrgb(126, 82, 240)
HSLhsl(257, 84%, 63%)
HSVhsv(257, 66%, 94%)
CMYKcmyk(47.5%, 65.8%, 0%, 5.9%)
CIE-LABlab(47.96, 54.40, -73.32)
CIE-LCHlch(47.96, 91.30, 306.58°)
OKLaboklab(57.49% 0.078 -0.2101)
OKLCHoklch(57.49% 0.224 290.4)
XYZxyz(27.3452, 16.7604, 84.2154)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E52F0 #C4F052
analogous
#5275F0 #7E52F0 #CD52F0
triadic
#7E52F0 #F07E52 #52F07E
tetradic
#7E52F0 #F05275 #C4F052 #52F0CD
square
#7E52F0 #F05275 #C4F052 #52F0CD
split-complementary
#7E52F0 #F0CD52 #75F052
monochromatic
#3F10B8 #541AEB #7E52F0 #A88AF5 #D2C3FA

Accessibility & contrast

On white

4.83
#7E52F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7E52F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E52F0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E52F0#FFFFFF#000000##FFFFFF
##7E52F01.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F5
Deuteranopia (green-blind)
#006EED
Tritanopia (blue-blind)
#59799A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e52f0;
/* rgb */ color: rgb(126, 82, 240);
/* oklch */ color: oklch(57.5% 0.224 290.4);
Tailwind
colors: {
  custom: {
    50: '#ac85f6',
    500: '#7e52f0',
    950: '#000000',
  },
}
SCSS
$custom: #7e52f0;
$custom-light: #ac85f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e52f0",
  "rgb": {
    "r": 126,
    "g": 82,
    "b": 240
  },
  "hsl": {
    "h": 256.709,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57493,
    "c": 0.22407,
    "h": 290.4
  },
  "luminance": 0.16761
}

Semantic roles & 50–950 ramp

primary
#7E52F0
secondary
#DBEBB3
accent
#E005A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E52F0

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

Preview Lab → · Contrast checker → · Palette generator →

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