#7D52CF#7D52CF

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

Color values

HEX#7D52CF
RGBrgb(125, 82, 207)
HSLhsl(261, 57%, 57%)
HSVhsv(261, 60%, 81%)
CMYKcmyk(39.6%, 60.4%, 0%, 18.8%)
CIE-LABlab(45.50, 45.31, -58.57)
CIE-LCHlch(45.50, 74.05, 307.72°)
OKLaboklab(54.94% 0.0796 -0.1668)
OKLCHoklch(54.94% 0.185 295.5)
XYZxyz(22.7343, 14.8991, 60.6974)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52CF #A4CF52
analogous
#5266CF #7D52CF #BC52CF
triadic
#7D52CF #CF7D52 #52CF7D
tetradic
#7D52CF #CF5266 #A4CF52 #52CFBC
square
#7D52CF #CF5266 #A4CF52 #52CFBC
split-complementary
#7D52CF #CFBC52 #66CF52
monochromatic
#452482 #5E31B2 #7D52CF #A182DC #C5B2EA

Accessibility & contrast

On white

5.28
#7D52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7D52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52CF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52CF#FFFFFF#000000##FFFFFF
##7D52CF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#116ACC
Tritanopia (blue-blind)
#686E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d52cf;
/* rgb */ color: rgb(125, 82, 207);
/* oklch */ color: oklch(54.9% 0.185 295.5);
Tailwind
colors: {
  custom: {
    50: '#a884de',
    500: '#7d52cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d52cf;
$custom-light: #a884de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52cf",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 260.64,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.1848,
    "h": 295.5
  },
  "luminance": 0.149
}

Semantic roles & 50–950 ramp

primary
#7D52CF
secondary
#C6D8A5
accent
#E048AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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