#7D48E0#7D48E0

#7D48E0 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.218 H 294.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7D48E0
RGBrgb(125, 72, 224)
HSLhsl(261, 71%, 58%)
HSVhsv(261, 68%, 88%)
CMYKcmyk(44.2%, 67.9%, 0%, 12.2%)
CIE-LABlab(44.77, 55.09, -69.48)
CIE-LCHlch(44.77, 88.67, 308.41°)
OKLaboklab(54.8% 0.0885 -0.1988)
OKLCHoklch(54.8% 0.218 294)
XYZxyz(24.2257, 14.3758, 72.0050)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48E0 #ABE048
analogous
#485FE0 #7D48E0 #C948E0
triadic
#7D48E0 #E07D48 #48E07D
tetradic
#7D48E0 #E0485F #ABE048 #48E0C9
square
#7D48E0 #E0485F #ABE048 #48E0C9
split-complementary
#7D48E0 #E0C948 #5FE048
monochromatic
#441994 #5C22C9 #7D48E0 #A27CE9 #C7B1F2

Accessibility & contrast

On white

5.42
#7D48E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7D48E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48E0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48E0#FFFFFF#000000##FFFFFF
##7D48E01.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE5
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#616D8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d48e0;
/* rgb */ color: rgb(125, 72, 224);
/* oklch */ color: oklch(54.8% 0.218 294.0);
Tailwind
colors: {
  custom: {
    50: '#aa7feb',
    500: '#7d48e0',
    950: '#000000',
  },
}
SCSS
$custom: #7d48e0;
$custom-light: #aa7feb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48e0",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 260.921,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.21761,
    "h": 294
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#7D48E0
secondary
#CBE0A4
accent
#EE3AAF
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D48E0

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

Preview Lab → · Contrast checker → · Palette generator →

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