#7D52BA#7D52BA

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

Color values

HEX#7D52BA
RGBrgb(125, 82, 186)
HSLhsl(265, 43%, 53%)
HSVhsv(265, 56%, 73%)
CMYKcmyk(32.8%, 55.9%, 0%, 27.1%)
CIE-LABlab(44.15, 39.80, -48.58)
CIE-LCHlch(44.15, 62.80, 309.32°)
OKLaboklab(53.52% 0.0799 -0.1374)
OKLCHoklch(53.52% 0.159 300.2)
XYZxyz(20.3356, 13.9396, 48.0641)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52BA #8FBA52
analogous
#525BBA #7D52BA #B152BA
triadic
#7D52BA #BA7D52 #52BA7D
tetradic
#7D52BA #BA525B #8FBA52 #52BAB1
square
#7D52BA #BA525B #8FBA52 #52BAB1
split-complementary
#7D52BA #BAB152 #5BBA52
monochromatic
#432A68 #603B94 #7D52BA #9E7ECB #BFAADD

Accessibility & contrast

On white

5.54
#7D52BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7D52BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52BA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52BA#FFFFFF#000000##FFFFFF
##7D52BA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BD
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#70677E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d52ba;
/* rgb */ color: rgb(125, 82, 186);
/* oklch */ color: oklch(53.5% 0.159 300.2);
Tailwind
colors: {
  custom: {
    50: '#a684cf',
    500: '#7d52ba',
    950: '#000000',
  },
}
SCSS
$custom: #7d52ba;
$custom-light: #a684cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52ba",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 264.808,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.15892,
    "h": 300.2
  },
  "luminance": 0.1394
}

Semantic roles & 50–950 ramp

primary
#7D52BA
secondary
#B8CA9D
accent
#D3559F
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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