#7C52BE#7C52BE

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

Color values

HEX#7C52BE
RGBrgb(124, 82, 190)
HSLhsl(263, 45%, 53%)
HSVhsv(263, 57%, 75%)
CMYKcmyk(34.7%, 56.8%, 0%, 25.5%)
CIE-LABlab(44.29, 40.59, -50.70)
CIE-LCHlch(44.29, 64.94, 308.68°)
OKLaboklab(53.68% 0.0786 -0.1436)
OKLCHoklch(53.68% 0.164 298.7)
XYZxyz(20.6215, 14.0372, 50.3282)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52BE #94BE52
analogous
#525EBE #7C52BE #B252BE
triadic
#7C52BE #BE7C52 #52BE7C
tetradic
#7C52BE #BE525E #94BE52 #52BEB2
square
#7C52BE #BE525E #94BE52 #52BEB2
split-complementary
#7C52BE #BEB252 #5EBE52
monochromatic
#43296D #5F3A99 #7C52BE #9E7ECF #BFABDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C52BE#FFFFFF#000000##FFFFFF
##7C52BE1.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)
#1F69C2
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#6E6880
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c52be;
/* rgb */ color: rgb(124, 82, 190);
/* oklch */ color: oklch(53.7% 0.164 298.7);
Tailwind
colors: {
  custom: {
    50: '#a684d2',
    500: '#7c52be',
    950: '#000000',
  },
}
SCSS
$custom: #7c52be;
$custom-light: #a684d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52be",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 263.333,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.16375,
    "h": 298.7
  },
  "luminance": 0.14037
}

Semantic roles & 50–950 ramp

primary
#7C52BE
secondary
#BBCD9F
accent
#D553A2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7C52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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