#7D52D0#7D52D0

#7D52D0 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.186 H 295.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7D52D0
RGBrgb(125, 82, 208)
HSLhsl(260, 57%, 57%)
HSVhsv(260, 61%, 82%)
CMYKcmyk(39.9%, 60.6%, 0%, 18.4%)
CIE-LABlab(45.56, 45.57, -59.04)
CIE-LCHlch(45.56, 74.58, 307.66°)
OKLaboklab(55.01% 0.0796 -0.1681)
OKLCHoklch(55.01% 0.186 295.3)
XYZxyz(22.8569, 14.9481, 61.3433)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52D0 #A5D052
analogous
#5266D0 #7D52D0 #BC52D0
triadic
#7D52D0 #D07D52 #52D07D
tetradic
#7D52D0 #D05266 #A5D052 #52D0BC
square
#7D52D0 #D05266 #A5D052 #52D0BC
split-complementary
#7D52D0 #D0BC52 #66D052
monochromatic
#452484 #5E31B4 #7D52D0 #A182DD #C5B2EA

Accessibility & contrast

On white

5.26
#7D52D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D52D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52D0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52D0#FFFFFF#000000##FFFFFF
##7D52D01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#0D6ACD
Tritanopia (blue-blind)
#686E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d52d0;
/* rgb */ color: rgb(125, 82, 208);
/* oklch */ color: oklch(55.0% 0.186 295.3);
Tailwind
colors: {
  custom: {
    50: '#a884df',
    500: '#7d52d0',
    950: '#000000',
  },
}
SCSS
$custom: #7d52d0;
$custom-light: #a884df;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52d0",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 260.476,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.18602,
    "h": 295.3
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#7D52D0
secondary
#C7D9A5
accent
#E147AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D52D0

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

Preview Lab → · Contrast checker → · Palette generator →

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