#7D52BF#7D52BF

#7D52BF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.165 H 299.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7D52BF
RGBrgb(125, 82, 191)
HSLhsl(264, 46%, 54%)
HSVhsv(264, 57%, 75%)
CMYKcmyk(34.6%, 57.1%, 0%, 25.1%)
CIE-LABlab(44.46, 41.09, -51.00)
CIE-LCHlch(44.46, 65.49, 308.86°)
OKLaboklab(53.85% 0.0799 -0.1445)
OKLCHoklch(53.85% 0.165 299)
XYZxyz(20.8764, 14.1559, 50.9126)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52BF #94BF52
analogous
#525DBF #7D52BF #B452BF
triadic
#7D52BF #BF7D52 #52BF7D
tetradic
#7D52BF #BF525D #94BF52 #52BFB4
square
#7D52BF #BF525D #94BF52 #52BFB4
split-complementary
#7D52BF #BFB452 #5DBF52
monochromatic
#44296E #60399B #7D52BF #9F7FD0 #C0ABE0

Accessibility & contrast

On white

5.48
#7D52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7D52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52BF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52BF#FFFFFF#000000##FFFFFF
##7D52BF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#3068BD
Tritanopia (blue-blind)
#6F6880
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d52bf;
/* rgb */ color: rgb(125, 82, 191);
/* oklch */ color: oklch(53.8% 0.165 299.0);
Tailwind
colors: {
  custom: {
    50: '#a684d3',
    500: '#7d52bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d52bf;
$custom-light: #a684d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52bf",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 263.67,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.16514,
    "h": 299
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#7D52BF
secondary
#BBCE9F
accent
#D652A2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7D52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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