#7D52DB#7D52DB

#7D52DB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.199 H 293.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7D52DB
RGBrgb(125, 82, 219)
HSLhsl(259, 66%, 59%)
HSVhsv(259, 63%, 86%)
CMYKcmyk(42.9%, 62.6%, 0%, 14.1%)
CIE-LABlab(46.32, 48.52, -64.10)
CIE-LCHlch(46.32, 80.40, 307.12°)
OKLaboklab(55.81% 0.0789 -0.183)
OKLCHoklch(55.81% 0.199 293.3)
XYZxyz(24.2575, 15.5084, 68.7194)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52DB #B0DB52
analogous
#526CDB #7D52DB #C252DB
triadic
#7D52DB #DB7D52 #52DB7D
tetradic
#7D52DB #DB526C #B0DB52 #52DBC2
square
#7D52DB #DB526C #B0DB52 #52DBC2
split-complementary
#7D52DB #DBC252 #6CDB52
monochromatic
#441F94 #5B29C6 #7D52DB #A385E6 #C9B7F0

Accessibility & contrast

On white

5.12
#7D52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7D52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52DB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52DB#FFFFFF#000000##FFFFFF
##7D52DB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#63728F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d52db;
/* rgb */ color: rgb(125, 82, 219);
/* oklch */ color: oklch(55.8% 0.199 293.3);
Tailwind
colors: {
  custom: {
    50: '#a985e7',
    500: '#7d52db',
    950: '#000000',
  },
}
SCSS
$custom: #7d52db;
$custom-light: #a985e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52db",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 258.832,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55808,
    "c": 0.19929,
    "h": 293.3
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#7D52DB
secondary
#CEDFAA
accent
#E93FB3
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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