#7D52BC#7D52BC

#7D52BC is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.161 H 299.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7D52BC
RGBrgb(125, 82, 188)
HSLhsl(264, 44%, 53%)
HSVhsv(264, 56%, 74%)
CMYKcmyk(33.5%, 56.4%, 0%, 26.3%)
CIE-LABlab(44.27, 40.31, -49.55)
CIE-LCHlch(44.27, 63.88, 309.13°)
OKLaboklab(53.65% 0.0799 -0.1403)
OKLCHoklch(53.65% 0.161 299.7)
XYZxyz(20.5497, 14.0252, 49.1917)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52BC #91BC52
analogous
#525CBC #7D52BC #B252BC
triadic
#7D52BC #BC7D52 #52BC7D
tetradic
#7D52BC #BC525C #91BC52 #52BCB2
square
#7D52BC #BC525C #91BC52 #52BCB2
split-complementary
#7D52BC #BCB252 #5CBC52
monochromatic
#44296A #603A97 #7D52BC #9E7ECD #BFAADE

Accessibility & contrast

On white

5.52
#7D52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7D52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52BC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52BC#FFFFFF#000000##FFFFFF
##7D52BC1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368C0
Deuteranopia (green-blind)
#3368BA
Tritanopia (blue-blind)
#70677F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d52bc;
/* rgb */ color: rgb(125, 82, 188);
/* oklch */ color: oklch(53.7% 0.161 299.7);
Tailwind
colors: {
  custom: {
    50: '#a684d1',
    500: '#7d52bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d52bc;
$custom-light: #a684d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52bc",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 264.34,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53653,
    "c": 0.16141,
    "h": 299.7
  },
  "luminance": 0.14025
}

Semantic roles & 50–950 ramp

primary
#7D52BC
secondary
#B9CC9E
accent
#D454A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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