#7D48CA#7D48CA

#7D48CA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.192 H 298.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7D48CA
RGBrgb(125, 72, 202)
HSLhsl(264, 55%, 54%)
HSVhsv(264, 64%, 79%)
CMYKcmyk(38.1%, 64.4%, 0%, 20.8%)
CIE-LABlab(43.15, 49.37, -59.48)
CIE-LCHlch(43.15, 77.31, 309.69°)
OKLaboklab(53.13% 0.0913 -0.1694)
OKLCHoklch(53.13% 0.192 298.3)
XYZxyz(21.4328, 13.2587, 57.2957)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48CA #95CA48
analogous
#4854CA #7D48CA #BE48CA
triadic
#7D48CA #CA7D48 #48CA7D
tetradic
#7D48CA #CA4854 #95CA48 #48CABE
square
#7D48CA #CA4854 #95CA48 #48CABE
split-complementary
#7D48CA #CABE48 #54CA48
monochromatic
#442276 #6030A5 #7D48CA #9F77D8 #C0A7E5

Accessibility & contrast

On white

5.75
#7D48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7D48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48CA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48CA#FFFFFF#000000##FFFFFF
##7D48CA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#6B6583
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d48ca;
/* rgb */ color: rgb(125, 72, 202);
/* oklch */ color: oklch(53.1% 0.192 298.3);
Tailwind
colors: {
  custom: {
    50: '#a87edb',
    500: '#7d48ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d48ca;
$custom-light: #a87edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48ca",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 264.462,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.19245,
    "h": 298.3
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

primary
#7D48CA
secondary
#BCD39B
accent
#DE49A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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