#7D52CA#7D52CA

#7D52CA is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.179 H 296.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7D52CA
RGBrgb(125, 82, 202)
HSLhsl(262, 53%, 56%)
HSVhsv(262, 59%, 79%)
CMYKcmyk(38.1%, 59.4%, 0%, 20.8%)
CIE-LABlab(45.16, 43.98, -56.23)
CIE-LCHlch(45.16, 71.39, 308.03°)
OKLaboklab(54.6% 0.0798 -0.1599)
OKLCHoklch(54.6% 0.179 296.5)
XYZxyz(22.1327, 14.6584, 57.5289)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52CA #9FCA52
analogous
#5263CA #7D52CA #B952CA
triadic
#7D52CA #CA7D52 #52CA7D
tetradic
#7D52CA #CA5263 #9FCA52 #52CAB9
square
#7D52CA #CA5263 #9FCA52 #52CAB9
split-complementary
#7D52CA #CAB952 #63CA52
monochromatic
#45267C #5F34AB #7D52CA #A081D8 #C3B0E7

Accessibility & contrast

On white

5.34
#7D52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7D52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52CA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52CA#FFFFFF#000000##FFFFFF
##7D52CA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#1E69C7
Tritanopia (blue-blind)
#6A6C86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d52ca;
/* rgb */ color: rgb(125, 82, 202);
/* oklch */ color: oklch(54.6% 0.179 296.5);
Tailwind
colors: {
  custom: {
    50: '#a784db',
    500: '#7d52ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d52ca;
$custom-light: #a784db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52ca",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 261.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.17869,
    "h": 296.5
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#7D52CA
secondary
#C3D5A3
accent
#DD4BA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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