#7D48D9#7D48D9

#7D48D9 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.210 H 295.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7D48D9
RGBrgb(125, 72, 217)
HSLhsl(262, 66%, 57%)
HSVhsv(262, 67%, 85%)
CMYKcmyk(42.4%, 66.8%, 0%, 14.9%)
CIE-LABlab(44.24, 53.26, -66.34)
CIE-LCHlch(44.24, 85.08, 308.76°)
OKLaboklab(54.26% 0.0895 -0.1896)
OKLCHoklch(54.26% 0.21 295.3)
XYZxyz(23.2959, 14.0039, 67.1078)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48D9 #A4D948
analogous
#485CD9 #7D48D9 #C648D9
triadic
#7D48D9 #D97D48 #48D97D
tetradic
#7D48D9 #D9485C #A4D948 #48D9C6
square
#7D48D9 #D9485C #A4D948 #48D9C6
split-complementary
#7D48D9 #D9C648 #5CD948
monochromatic
#451D8A #5E27BD #7D48D9 #A17BE4 #C5ADEE

Accessibility & contrast

On white

5.53
#7D48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7D48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48D9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48D9#FFFFFF#000000##FFFFFF
##7D48D91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#646B8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d48d9;
/* rgb */ color: rgb(125, 72, 217);
/* oklch */ color: oklch(54.3% 0.210 295.3);
Tailwind
colors: {
  custom: {
    50: '#a97ee6',
    500: '#7d48d9',
    950: '#000000',
  },
}
SCSS
$custom: #7d48d9;
$custom-light: #a97ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48d9",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 261.931,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.20967,
    "h": 295.3
  },
  "luminance": 0.14004
}

Semantic roles & 50–950 ramp

primary
#7D48D9
secondary
#C6DCA1
accent
#E93FAB
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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