#7D52ED#7D52ED

#7D52ED is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.221 H 290.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D52ED
RGBrgb(125, 82, 237)
HSLhsl(257, 81%, 63%)
HSVhsv(257, 65%, 93%)
CMYKcmyk(47.3%, 65.4%, 0%, 7.1%)
CIE-LABlab(47.63, 53.41, -72.16)
CIE-LCHlch(47.63, 89.77, 306.51°)
OKLaboklab(57.17% 0.077 -0.2067)
OKLCHoklch(57.17% 0.221 290.4)
XYZxyz(26.7565, 16.5080, 81.8809)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52ED #C2ED52
analogous
#5275ED #7D52ED #CA52ED
triadic
#7D52ED #ED7D52 #52ED7D
tetradic
#7D52ED #ED5275 #C2ED52 #52EDCA
square
#7D52ED #ED5275 #C2ED52 #52EDCA
split-complementary
#7D52ED #EDCA52 #75ED52
monochromatic
#3F13B2 #531BE7 #7D52ED #A789F3 #D0C1F9

Accessibility & contrast

On white

4.88
#7D52ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7D52ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52ED
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52ED#FFFFFF#000000##FFFFFF
##7D52ED1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#597899
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d52ed;
/* rgb */ color: rgb(125, 82, 237);
/* oklch */ color: oklch(57.2% 0.221 290.4);
Tailwind
colors: {
  custom: {
    50: '#ab85f4',
    500: '#7d52ed',
    950: '#000000',
  },
}
SCSS
$custom: #7d52ed;
$custom-light: #ab85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52ed",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 256.645,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.22059,
    "h": 290.4
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

primary
#7D52ED
secondary
#DAEAB1
accent
#DE08A2
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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