#7D52DC#7D52DC

#7D52DC is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 55.9% C 0.200 H 293.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7D52DC
RGBrgb(125, 82, 220)
HSLhsl(259, 66%, 59%)
HSVhsv(259, 63%, 86%)
CMYKcmyk(43.2%, 62.7%, 0%, 13.7%)
CIE-LABlab(46.39, 48.79, -64.56)
CIE-LCHlch(46.39, 80.92, 307.08°)
OKLaboklab(55.88% 0.0788 -0.1844)
OKLCHoklch(55.88% 0.2 293.1)
XYZxyz(24.3895, 15.5612, 69.4148)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52DC #B1DC52
analogous
#526CDC #7D52DC #C252DC
triadic
#7D52DC #DC7D52 #52DC7D
tetradic
#7D52DC #DC526C #B1DC52 #52DCC2
square
#7D52DC #DC526C #B1DC52 #52DCC2
split-complementary
#7D52DC #DCC252 #6CDC52
monochromatic
#431E95 #5A29C8 #7D52DC #A385E6 #CAB8F1

Accessibility & contrast

On white

5.11
#7D52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7D52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52DC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52DC#FFFFFF#000000##FFFFFF
##7D52DC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d52dc;
/* rgb */ color: rgb(125, 82, 220);
/* oklch */ color: oklch(55.9% 0.200 293.1);
Tailwind
colors: {
  custom: {
    50: '#a985e8',
    500: '#7d52dc',
    950: '#000000',
  },
}
SCSS
$custom: #7d52dc;
$custom-light: #a985e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52dc",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 258.696,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.20049,
    "h": 293.1
  },
  "luminance": 0.15562
}

Semantic roles & 50–950 ramp

primary
#7D52DC
secondary
#CFE0AA
accent
#E93FB4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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