#7D52DF#7D52DF

#7D52DF is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.204 H 292.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7D52DF
RGBrgb(125, 82, 223)
HSLhsl(258, 69%, 60%)
HSVhsv(258, 63%, 87%)
CMYKcmyk(43.9%, 63.2%, 0%, 12.5%)
CIE-LABlab(46.61, 49.60, -65.92)
CIE-LCHlch(46.61, 82.50, 306.96°)
OKLaboklab(56.1% 0.0785 -0.1883)
OKLCHoklch(56.1% 0.204 292.6)
XYZxyz(24.7904, 15.7215, 71.5261)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52DF #B4DF52
analogous
#526EDF #7D52DF #C452DF
triadic
#7D52DF #DF7D52 #52DF7D
tetradic
#7D52DF #DF526E #B4DF52 #52DFC4
square
#7D52DF #DF526E #B4DF52 #52DFC4
split-complementary
#7D52DF #DFC452 #6EDF52
monochromatic
#431D9A #5926CE #7D52DF #A486E9 #CBB9F2

Accessibility & contrast

On white

5.07
#7D52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7D52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52DF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52DF#FFFFFF#000000##FFFFFF
##7D52DF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d52df;
/* rgb */ color: rgb(125, 82, 223);
/* oklch */ color: oklch(56.1% 0.204 292.6);
Tailwind
colors: {
  custom: {
    50: '#aa85ea',
    500: '#7d52df',
    950: '#000000',
  },
}
SCSS
$custom: #7d52df;
$custom-light: #aa85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52df",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 258.298,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.20407,
    "h": 292.6
  },
  "luminance": 0.15722
}

Semantic roles & 50–950 ramp

primary
#7D52DF
secondary
#D1E2AB
accent
#EC3CB6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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