#7D52FD#7D52FD

#7D52FD is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.239 H 288.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D52FD
RGBrgb(125, 82, 253)
HSLhsl(255, 98%, 66%)
HSVhsv(255, 68%, 99%)
CMYKcmyk(50.6%, 67.6%, 0%, 0.8%)
CIE-LABlab(48.87, 57.78, -79.10)
CIE-LCHlch(48.87, 97.96, 306.15°)
OKLaboklab(58.44% 0.0747 -0.2271)
OKLCHoklch(58.44% 0.239 288.2)
XYZxyz(29.1992, 17.4850, 94.7459)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52FD #D2FD52
analogous
#527CFD #7D52FD #D352FD
triadic
#7D52FD #FD7D52 #52FD7D
tetradic
#7D52FD #FD527C #D2FD52 #52FDD3
square
#7D52FD #FD527C #D2FD52 #52FDD3
split-complementary
#7D52FD #FDD352 #7CFD52
monochromatic
#3702D2 #5015FC #7D52FD #AA8EFE #D8CBFE

Accessibility & contrast

On white

4.67
#7D52FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7D52FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52FD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52FD#FFFFFF#000000##FFFFFF
##7D52FD1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0070FA
Tritanopia (blue-blind)
#4E7EA1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d52fd;
/* rgb */ color: rgb(125, 82, 253);
/* oklch */ color: oklch(58.4% 0.239 288.2);
Tailwind
colors: {
  custom: {
    50: '#ad86ff',
    500: '#7d52fd',
    950: '#000000',
  },
}
SCSS
$custom: #7d52fd;
$custom-light: #ad86ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52fd",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 255.088,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58435,
    "c": 0.23908,
    "h": 288.2
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#7D52FD
secondary
#E4F2B9
accent
#E600AC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7D52FD

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

Preview Lab → · Contrast checker → · Palette generator →

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