#7C52BB#7C52BB

#7C52BB is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.160 H 299.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7C52BB
RGBrgb(124, 82, 187)
HSLhsl(264, 44%, 53%)
HSVhsv(264, 56%, 73%)
CMYKcmyk(33.7%, 56.1%, 0%, 26.7%)
CIE-LABlab(44.10, 39.81, -49.25)
CIE-LCHlch(44.10, 63.32, 308.95°)
OKLaboklab(53.48% 0.0786 -0.1394)
OKLCHoklch(53.48% 0.16 299.4)
XYZxyz(20.2969, 13.9074, 48.6191)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C52BB #91BB52
analogous
#525DBB #7C52BB #B052BB
triadic
#7C52BB #BB7C52 #52BB7C
tetradic
#7C52BB #BB525D #91BB52 #52BBB0
square
#7C52BB #BB525D #91BB52 #52BBB0
split-complementary
#7C52BB #BBB052 #5DBB52
monochromatic
#432969 #5F3B95 #7C52BB #9D7ECC #BFAADE

Accessibility & contrast

On white

5.55
#7C52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7C52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C52BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C52BB#FFFFFF#000000##FFFFFF
##7C52BB1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#3367B9
Tritanopia (blue-blind)
#6F677E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c52bb;
/* rgb */ color: rgb(124, 82, 187);
/* oklch */ color: oklch(53.5% 0.160 299.4);
Tailwind
colors: {
  custom: {
    50: '#a584d0',
    500: '#7c52bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c52bb;
$custom-light: #a584d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c52bb",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 264,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.16,
    "h": 299.4
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

primary
#7C52BB
secondary
#B9CB9E
accent
#D354A1
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7C52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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