#7D48D5#7D48D5

#7D48D5 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.205 H 296.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7D48D5
RGBrgb(125, 72, 213)
HSLhsl(263, 63%, 56%)
HSVhsv(263, 66%, 84%)
CMYKcmyk(41.3%, 66.2%, 0%, 16.5%)
CIE-LABlab(43.94, 52.22, -64.53)
CIE-LCHlch(43.94, 83.01, 308.98°)
OKLaboklab(53.95% 0.0901 -0.1843)
OKLCHoklch(53.95% 0.205 296)
XYZxyz(22.7819, 13.7983, 64.4009)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48D5 #A0D548
analogous
#4859D5 #7D48D5 #C348D5
triadic
#7D48D5 #D57D48 #48D57D
tetradic
#7D48D5 #D54859 #A0D548 #48D5C3
square
#7D48D5 #D54859 #A0D548 #48D5C3
split-complementary
#7D48D5 #D5C348 #59D548
monochromatic
#451E84 #5E2AB6 #7D48D5 #A07AE0 #C4ACEC

Accessibility & contrast

On white

5.59
#7D48D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7D48D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48D5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48D5#FFFFFF#000000##FFFFFF
##7D48D51.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#666988
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d48d5;
/* rgb */ color: rgb(125, 72, 213);
/* oklch */ color: oklch(54.0% 0.205 296.0);
Tailwind
colors: {
  custom: {
    50: '#a97ee3',
    500: '#7d48d5',
    950: '#000000',
  },
}
SCSS
$custom: #7d48d5;
$custom-light: #a97ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48d5",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 262.553,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.2051,
    "h": 296
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

primary
#7D48D5
secondary
#C4DA9F
accent
#E642A8
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D48D5

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

Preview Lab → · Contrast checker → · Palette generator →

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