#7D52D3#7D52D3

#7D52D3 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.190 H 294.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7D52D3
RGBrgb(125, 82, 211)
HSLhsl(260, 59%, 57%)
HSVhsv(260, 61%, 83%)
CMYKcmyk(40.8%, 61.1%, 0%, 17.3%)
CIE-LABlab(45.77, 46.37, -60.43)
CIE-LCHlch(45.77, 76.17, 307.50°)
OKLaboklab(55.23% 0.0794 -0.1722)
OKLCHoklch(55.23% 0.19 294.8)
XYZxyz(23.2295, 15.0972, 63.3055)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52D3 #A8D352
analogous
#5268D3 #7D52D3 #BE52D3
triadic
#7D52D3 #D37D52 #52D37D
tetradic
#7D52D3 #D35268 #A8D352 #52D3BE
square
#7D52D3 #D35268 #A8D352 #52D3BE
split-complementary
#7D52D3 #D3BE52 #68D352
monochromatic
#442388 #5D2FB9 #7D52D3 #A283DF #C6B4EC

Accessibility & contrast

On white

5.22
#7D52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7D52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52D3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52D3#FFFFFF#000000##FFFFFF
##7D52D31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#676F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d52d3;
/* rgb */ color: rgb(125, 82, 211);
/* oklch */ color: oklch(55.2% 0.190 294.8);
Tailwind
colors: {
  custom: {
    50: '#a885e1',
    500: '#7d52d3',
    950: '#000000',
  },
}
SCSS
$custom: #7d52d3;
$custom-light: #a885e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52d3",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 260,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.18965,
    "h": 294.8
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#7D52D3
secondary
#C9DAA6
accent
#E345AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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