#7D52DE#7D52DE

#7D52DE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.0% C 0.203 H 292.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7D52DE
RGBrgb(125, 82, 222)
HSLhsl(258, 68%, 60%)
HSVhsv(258, 63%, 87%)
CMYKcmyk(43.7%, 63.1%, 0%, 12.9%)
CIE-LABlab(46.54, 49.33, -65.46)
CIE-LCHlch(46.54, 81.97, 307.00°)
OKLaboklab(56.03% 0.0786 -0.187)
OKLCHoklch(56.03% 0.203 292.8)
XYZxyz(24.6559, 15.6678, 70.8182)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52DE #B3DE52
analogous
#526DDE #7D52DE #C352DE
triadic
#7D52DE #DE7D52 #52DE7D
tetradic
#7D52DE #DE526D #B3DE52 #52DEC3
square
#7D52DE #DE526D #B3DE52 #52DEC3
split-complementary
#7D52DE #DEC352 #6DDE52
monochromatic
#431D99 #5A27CC #7D52DE #A485E8 #CAB9F2

Accessibility & contrast

On white

5.08
#7D52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7D52DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52DE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52DE#FFFFFF#000000##FFFFFF
##7D52DE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#617391
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d52de;
/* rgb */ color: rgb(125, 82, 222);
/* oklch */ color: oklch(56.0% 0.203 292.8);
Tailwind
colors: {
  custom: {
    50: '#a985e9',
    500: '#7d52de',
    950: '#000000',
  },
}
SCSS
$custom: #7d52de;
$custom-light: #a985e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52de",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 258.429,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56029,
    "c": 0.20288,
    "h": 292.8
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#7D52DE
secondary
#D0E1AB
accent
#EB3DB5
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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