#7D52EF#7D52EF

#7D52EF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.223 H 290.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7D52EF
RGBrgb(125, 82, 239)
HSLhsl(256, 83%, 63%)
HSVhsv(256, 66%, 94%)
CMYKcmyk(47.7%, 65.7%, 0%, 6.3%)
CIE-LABlab(47.78, 53.95, -73.04)
CIE-LCHlch(47.78, 90.81, 306.45°)
OKLaboklab(57.32% 0.0768 -0.2093)
OKLCHoklch(57.32% 0.223 290.1)
XYZxyz(27.0503, 16.6255, 83.4284)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52EF #C4EF52
analogous
#5275EF #7D52EF #CB52EF
triadic
#7D52EF #EF7D52 #52EF7D
tetradic
#7D52EF #EF5275 #C4EF52 #52EFCB
square
#7D52EF #EF5275 #C4EF52 #52EFCB
split-complementary
#7D52EF #EFCB52 #75EF52
monochromatic
#3E11B6 #531AEA #7D52EF #A78AF4 #D1C2F9

Accessibility & contrast

On white

4.86
#7D52EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7D52EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52EF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52EF#FFFFFF#000000##FFFFFF
##7D52EF1.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#58799A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d52ef;
/* rgb */ color: rgb(125, 82, 239);
/* oklch */ color: oklch(57.3% 0.223 290.1);
Tailwind
colors: {
  custom: {
    50: '#ab85f5',
    500: '#7d52ef',
    950: '#000000',
  },
}
SCSS
$custom: #7d52ef;
$custom-light: #ab85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52ef",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 256.433,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57323,
    "c": 0.22292,
    "h": 290.1
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#7D52EF
secondary
#DBEBB2
accent
#DF06A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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