#7E52BE#7E52BE

#7E52BE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.164 H 299.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7E52BE
RGBrgb(126, 82, 190)
HSLhsl(264, 45%, 53%)
HSVhsv(264, 57%, 75%)
CMYKcmyk(33.7%, 56.8%, 0%, 25.5%)
CIE-LABlab(44.50, 41.08, -50.34)
CIE-LCHlch(44.50, 64.97, 309.21°)
OKLaboklab(53.89% 0.0813 -0.1425)
OKLCHoklch(53.89% 0.164 299.7)
XYZxyz(20.9135, 14.1877, 50.3419)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E52BE #92BE52
analogous
#525CBE #7E52BE #B452BE
triadic
#7E52BE #BE7E52 #52BE7E
tetradic
#7E52BE #BE525C #92BE52 #52BEB4
square
#7E52BE #BE525C #92BE52 #52BEB4
split-complementary
#7E52BE #BEB452 #5CBE52
monochromatic
#45296D #613A99 #7E52BE #9F7ECF #C0ABDF

Accessibility & contrast

On white

5.47
#7E52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7E52BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E52BE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E52BE#FFFFFF#000000##FFFFFF
##7E52BE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#3268BC
Tritanopia (blue-blind)
#706880
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e52be;
/* rgb */ color: rgb(126, 82, 190);
/* oklch */ color: oklch(53.9% 0.164 299.7);
Tailwind
colors: {
  custom: {
    50: '#a784d2',
    500: '#7e52be',
    950: '#000000',
  },
}
SCSS
$custom: #7e52be;
$custom-light: #a784d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e52be",
  "rgb": {
    "r": 126,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 264.444,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.16406,
    "h": 299.7
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#7E52BE
secondary
#BACD9F
accent
#D553A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7E52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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