#7D48C7#7D48C7

#7D48C7 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.189 H 299.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7D48C7
RGBrgb(125, 72, 199)
HSLhsl(265, 53%, 53%)
HSVhsv(265, 64%, 78%)
CMYKcmyk(37.2%, 63.8%, 0%, 22%)
CIE-LABlab(42.94, 48.61, -58.09)
CIE-LCHlch(42.94, 75.74, 309.92°)
OKLaboklab(52.91% 0.0916 -0.1653)
OKLCHoklch(52.91% 0.189 299)
XYZxyz(21.0810, 13.1180, 55.4431)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48C7 #92C748
analogous
#4852C7 #7D48C7 #BC48C7
triadic
#7D48C7 #C77D48 #48C77D
tetradic
#7D48C7 #C74852 #92C748 #48C7BC
square
#7D48C7 #C74852 #92C748 #48C7BC
split-complementary
#7D48C7 #C7BC48 #52C748
monochromatic
#442372 #6031A1 #7D48C7 #9E77D5 #C0A6E4

Accessibility & contrast

On white

5.80
#7D48C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7D48C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48C7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48C7#FFFFFF#000000##FFFFFF
##7D48C71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#0364C4
Tritanopia (blue-blind)
#6C6481
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d48c7;
/* rgb */ color: rgb(125, 72, 199);
/* oklch */ color: oklch(52.9% 0.189 299.0);
Tailwind
colors: {
  custom: {
    50: '#a87ed9',
    500: '#7d48c7',
    950: '#000000',
  },
}
SCSS
$custom: #7d48c7;
$custom-light: #a87ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48c7",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 265.039,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52914,
    "c": 0.18898,
    "h": 299
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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