#7D48DC#7D48DC

#7D48DC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.213 H 294.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7D48DC
RGBrgb(125, 72, 220)
HSLhsl(261, 68%, 57%)
HSVhsv(261, 67%, 86%)
CMYKcmyk(43.2%, 67.3%, 0%, 13.7%)
CIE-LABlab(44.46, 54.04, -67.69)
CIE-LCHlch(44.46, 86.62, 308.60°)
OKLaboklab(54.49% 0.0891 -0.1935)
OKLCHoklch(54.49% 0.213 294.7)
XYZxyz(23.6896, 14.1614, 69.1815)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48DC #A7DC48
analogous
#485DDC #7D48DC #C748DC
triadic
#7D48DC #DC7D48 #48DC7D
tetradic
#7D48DC #DC485D #A7DC48 #48DCC7
square
#7D48DC #DC485D #A7DC48 #48DCC7
split-complementary
#7D48DC #DCC748 #5DDC48
monochromatic
#441B8E #5D25C2 #7D48DC #A17BE6 #C6AFF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D48DC#FFFFFF#000000##FFFFFF
##7D48DC1.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)
#006AE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#636C8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d48dc;
/* rgb */ color: rgb(125, 72, 220);
/* oklch */ color: oklch(54.5% 0.213 294.7);
Tailwind
colors: {
  custom: {
    50: '#aa7fe8',
    500: '#7d48dc',
    950: '#000000',
  },
}
SCSS
$custom: #7d48dc;
$custom-light: #aa7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48dc",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 261.486,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5449,
    "c": 0.21308,
    "h": 294.7
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#7D48DC
secondary
#C8DEA2
accent
#EB3DAD
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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