#7D48D6#7D48D6

#7D48D6 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.206 H 295.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7D48D6
RGBrgb(125, 72, 214)
HSLhsl(262, 63%, 56%)
HSVhsv(262, 66%, 84%)
CMYKcmyk(41.6%, 66.4%, 0%, 16.1%)
CIE-LABlab(44.02, 52.48, -64.99)
CIE-LCHlch(44.02, 83.53, 308.92°)
OKLaboklab(54.03% 0.09 -0.1856)
OKLCHoklch(54.03% 0.206 295.9)
XYZxyz(22.9092, 13.8492, 65.0714)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48D6 #A1D648
analogous
#485AD6 #7D48D6 #C448D6
triadic
#7D48D6 #D67D48 #48D67D
tetradic
#7D48D6 #D6485A #A1D648 #48D6C4
square
#7D48D6 #D6485A #A1D648 #48D6C4
split-complementary
#7D48D6 #D6C448 #5AD648
monochromatic
#451E86 #5E29B8 #7D48D6 #A17AE1 #C4ACEC

Accessibility & contrast

On white

5.57
#7D48D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7D48D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48D6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48D6#FFFFFF#000000##FFFFFF
##7D48D61.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#666A89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d48d6;
/* rgb */ color: rgb(125, 72, 214);
/* oklch */ color: oklch(54.0% 0.206 295.9);
Tailwind
colors: {
  custom: {
    50: '#a97ee4',
    500: '#7d48d6',
    950: '#000000',
  },
}
SCSS
$custom: #7d48d6;
$custom-light: #a97ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48d6",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 262.394,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.20625,
    "h": 295.9
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#7D48D6
secondary
#C4DAA0
accent
#E641A9
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D48D6

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

Preview Lab → · Contrast checker → · Palette generator →

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