#7D52DD#7D52DD

#7D52DD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.202 H 293.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7D52DD
RGBrgb(125, 82, 221)
HSLhsl(259, 67%, 59%)
HSVhsv(259, 63%, 87%)
CMYKcmyk(43.4%, 62.9%, 0%, 13.3%)
CIE-LABlab(46.46, 49.06, -65.01)
CIE-LCHlch(46.46, 81.45, 307.04°)
OKLaboklab(55.96% 0.0787 -0.1857)
OKLCHoklch(55.96% 0.202 293)
XYZxyz(24.5223, 15.6143, 70.1144)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52DD #B2DD52
analogous
#526DDD #7D52DD #C352DD
triadic
#7D52DD #DD7D52 #52DD7D
tetradic
#7D52DD #DD526D #B2DD52 #52DDC3
square
#7D52DD #DD526D #B2DD52 #52DDC3
split-complementary
#7D52DD #DDC352 #6DDD52
monochromatic
#431E97 #5A28CA #7D52DD #A385E7 #CAB8F1

Accessibility & contrast

On white

5.09
#7D52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7D52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52DD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52DD#FFFFFF#000000##FFFFFF
##7D52DD1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#627290
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d52dd;
/* rgb */ color: rgb(125, 82, 221);
/* oklch */ color: oklch(56.0% 0.202 293.0);
Tailwind
colors: {
  custom: {
    50: '#a985e8',
    500: '#7d52dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d52dd;
$custom-light: #a985e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52dd",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 258.561,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.20169,
    "h": 293
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#7D52DD
secondary
#D0E0AA
accent
#EA3EB5
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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