#7D48CD#7D48CD

#7D48CD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.196 H 297.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7D48CD
RGBrgb(125, 72, 205)
HSLhsl(264, 57%, 54%)
HSVhsv(264, 65%, 80%)
CMYKcmyk(39%, 64.9%, 0%, 19.6%)
CIE-LABlab(43.36, 50.15, -60.87)
CIE-LCHlch(43.36, 78.87, 309.48°)
OKLaboklab(53.35% 0.091 -0.1735)
OKLCHoklch(53.35% 0.196 297.7)
XYZxyz(21.7914, 13.4021, 59.1845)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48CD #98CD48
analogous
#4856CD #7D48CD #C048CD
triadic
#7D48CD #CD7D48 #48CD7D
tetradic
#7D48CD #CD4856 #98CD48 #48CDC0
square
#7D48CD #CD4856 #98CD48 #48CDC0
split-complementary
#7D48CD #CDC048 #56CD48
monochromatic
#442179 #5F2EA9 #7D48CD #9F78DA #C1A8E7

Accessibility & contrast

On white

5.71
#7D48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7D48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48CD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48CD#FFFFFF#000000##FFFFFF
##7D48CD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#6A6784
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d48cd;
/* rgb */ color: rgb(125, 72, 205);
/* oklch */ color: oklch(53.4% 0.196 297.7);
Tailwind
colors: {
  custom: {
    50: '#a87edd',
    500: '#7d48cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d48cd;
$custom-light: #a87edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48cd",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 263.91,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53353,
    "c": 0.19592,
    "h": 297.7
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#7D48CD
secondary
#BED59C
accent
#E047A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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