#7D52BE#7D52BE

#7D52BE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.164 H 299.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7D52BE
RGBrgb(125, 82, 190)
HSLhsl(264, 45%, 53%)
HSVhsv(264, 57%, 75%)
CMYKcmyk(34.2%, 56.8%, 0%, 25.5%)
CIE-LABlab(44.39, 40.83, -50.52)
CIE-LCHlch(44.39, 64.96, 308.95°)
OKLaboklab(53.78% 0.0799 -0.1431)
OKLCHoklch(53.78% 0.164 299.2)
XYZxyz(20.7667, 14.1121, 50.3350)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52BE #93BE52
analogous
#525DBE #7D52BE #B352BE
triadic
#7D52BE #BE7D52 #52BE7D
tetradic
#7D52BE #BE525D #93BE52 #52BEB3
square
#7D52BE #BE525D #93BE52 #52BEB3
split-complementary
#7D52BE #BEB352 #5DBE52
monochromatic
#44296D #603A99 #7D52BE #9E7ECF #C0ABDF

Accessibility & contrast

On white

5.49
#7D52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7D52BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52BE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52BE#FFFFFF#000000##FFFFFF
##7D52BE1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C2
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#6F6880
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d52be;
/* rgb */ color: rgb(125, 82, 190);
/* oklch */ color: oklch(53.8% 0.164 299.2);
Tailwind
colors: {
  custom: {
    50: '#a684d2',
    500: '#7d52be',
    950: '#000000',
  },
}
SCSS
$custom: #7d52be;
$custom-light: #a684d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52be",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 263.889,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.16389,
    "h": 299.2
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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