#7D48C8#7D48C8

#7D48C8 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.190 H 298.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7D48C8
RGBrgb(125, 72, 200)
HSLhsl(265, 54%, 53%)
HSVhsv(265, 64%, 78%)
CMYKcmyk(37.5%, 64%, 0%, 21.6%)
CIE-LABlab(43.01, 48.86, -58.55)
CIE-LCHlch(43.01, 76.26, 309.84°)
OKLaboklab(52.99% 0.0915 -0.1667)
OKLCHoklch(52.99% 0.19 298.8)
XYZxyz(21.1975, 13.1646, 56.0566)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48C8 #93C848
analogous
#4853C8 #7D48C8 #BD48C8
triadic
#7D48C8 #C87D48 #48C87D
tetradic
#7D48C8 #C84853 #93C848 #48C8BD
square
#7D48C8 #C84853 #93C848 #48C8BD
split-complementary
#7D48C8 #C8BD48 #53C848
monochromatic
#442373 #6031A2 #7D48C8 #9E77D6 #C0A6E4

Accessibility & contrast

On white

5.78
#7D48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7D48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48C8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48C8#FFFFFF#000000##FFFFFF
##7D48C81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#6C6581
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d48c8;
/* rgb */ color: rgb(125, 72, 200);
/* oklch */ color: oklch(53.0% 0.190 298.8);
Tailwind
colors: {
  custom: {
    50: '#a87ed9',
    500: '#7d48c8',
    950: '#000000',
  },
}
SCSS
$custom: #7d48c8;
$custom-light: #a87ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48c8",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 264.844,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.19013,
    "h": 298.8
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#7D48C8
secondary
#BBD19A
accent
#DD4BA0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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