#7D48CE#7D48CE

#7D48CE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.197 H 297.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7D48CE
RGBrgb(125, 72, 206)
HSLhsl(264, 58%, 55%)
HSVhsv(264, 65%, 81%)
CMYKcmyk(39.3%, 65%, 0%, 19.2%)
CIE-LABlab(43.43, 50.40, -61.33)
CIE-LCHlch(43.43, 79.39, 309.41°)
OKLaboklab(53.43% 0.0909 -0.1748)
OKLCHoklch(53.43% 0.197 297.5)
XYZxyz(21.9125, 13.4506, 59.8223)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48CE #99CE48
analogous
#4856CE #7D48CE #C048CE
triadic
#7D48CE #CE7D48 #48CE7D
tetradic
#7D48CE #CE4856 #99CE48 #48CEC0
square
#7D48CE #CE4856 #99CE48 #48CEC0
split-complementary
#7D48CE #CEC048 #56CE48
monochromatic
#44217B #5F2EAB #7D48CE #9F78DB #C2A9E8

Accessibility & contrast

On white

5.69
#7D48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7D48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48CE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48CE#FFFFFF#000000##FFFFFF
##7D48CE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#696785
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d48ce;
/* rgb */ color: rgb(125, 72, 206);
/* oklch */ color: oklch(53.4% 0.197 297.5);
Tailwind
colors: {
  custom: {
    50: '#a87ede',
    500: '#7d48ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d48ce;
$custom-light: #a87ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48ce",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 263.731,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53427,
    "c": 0.19706,
    "h": 297.5
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#7D48CE
secondary
#BFD59D
accent
#E147A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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