#7D52CE#7D52CE

#7D52CE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.184 H 295.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7D52CE
RGBrgb(125, 82, 206)
HSLhsl(261, 56%, 56%)
HSVhsv(261, 60%, 81%)
CMYKcmyk(39.3%, 60.2%, 0%, 19.2%)
CIE-LABlab(45.43, 45.04, -58.11)
CIE-LCHlch(45.43, 73.52, 307.78°)
OKLaboklab(54.87% 0.0797 -0.1654)
OKLCHoklch(54.87% 0.184 295.7)
XYZxyz(22.6124, 14.8503, 60.0556)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52CE #A3CE52
analogous
#5265CE #7D52CE #BB52CE
triadic
#7D52CE #CE7D52 #52CE7D
tetradic
#7D52CE #CE5265 #A3CE52 #52CEBB
square
#7D52CE #CE5265 #A3CE52 #52CEBB
split-complementary
#7D52CE #CEBB52 #65CE52
monochromatic
#452581 #5E32B1 #7D52CE #A182DC #C5B1E9

Accessibility & contrast

On white

5.29
#7D52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7D52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52CE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52CE#FFFFFF#000000##FFFFFF
##7D52CE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#146ACB
Tritanopia (blue-blind)
#696D88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d52ce;
/* rgb */ color: rgb(125, 82, 206);
/* oklch */ color: oklch(54.9% 0.184 295.7);
Tailwind
colors: {
  custom: {
    50: '#a884de',
    500: '#7d52ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d52ce;
$custom-light: #a884de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52ce",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 260.806,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54873,
    "c": 0.18358,
    "h": 295.7
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#7D52CE
secondary
#C6D7A4
accent
#DF49AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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