#7D48D8#7D48D8

#7D48D8 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.209 H 295.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7D48D8
RGBrgb(125, 72, 216)
HSLhsl(262, 65%, 56%)
HSVhsv(262, 67%, 85%)
CMYKcmyk(42.1%, 66.7%, 0%, 15.3%)
CIE-LABlab(44.16, 53.00, -65.89)
CIE-LCHlch(44.16, 84.56, 308.81°)
OKLaboklab(54.18% 0.0897 -0.1883)
OKLCHoklch(54.18% 0.209 295.5)
XYZxyz(23.1662, 13.9520, 66.4249)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48D8 #A3D848
analogous
#485BD8 #7D48D8 #C548D8
triadic
#7D48D8 #D87D48 #48D87D
tetradic
#7D48D8 #D8485B #A3D848 #48D8C5
square
#7D48D8 #D8485B #A3D848 #48D8C5
split-complementary
#7D48D8 #D8C548 #5BD848
monochromatic
#451D89 #5E28BB #7D48D8 #A17AE3 #C5ADEE

Accessibility & contrast

On white

5.54
#7D48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7D48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48D8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48D8#FFFFFF#000000##FFFFFF
##7D48D81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#656B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d48d8;
/* rgb */ color: rgb(125, 72, 216);
/* oklch */ color: oklch(54.2% 0.209 295.5);
Tailwind
colors: {
  custom: {
    50: '#a97ee5',
    500: '#7d48d8',
    950: '#000000',
  },
}
SCSS
$custom: #7d48d8;
$custom-light: #a97ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48d8",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 262.083,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.20853,
    "h": 295.5
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#7D48D8
secondary
#C6DBA0
accent
#E840AA
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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