#7D48AB#7D48AB

#7D48AB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.156 H 306.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7D48AB
RGBrgb(125, 72, 171)
HSLhsl(272, 41%, 48%)
HSVhsv(272, 58%, 67%)
CMYKcmyk(26.9%, 57.9%, 0%, 32.9%)
CIE-LABlab(41.11, 41.61, -44.61)
CIE-LCHlch(41.11, 61.01, 313.01°)
OKLaboklab(51% 0.0925 -0.1257)
OKLCHoklch(51% 0.156 306.4)
XYZxyz(18.1240, 11.9351, 39.8691)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48AB #76AB48
analogous
#4B48AB #7D48AB #AB48A8
triadic
#7D48AB #AB7D48 #48AB7D
tetradic
#7D48AB #AB4B48 #76AB48 #48A8AB
square
#7D48AB #AB4B48 #76AB48 #48A8AB
split-complementary
#7D48AB #A8AB48 #48AB4B
monochromatic
#3E2455 #5E3680 #7D48AB #9B6EC2 #B999D4

Accessibility & contrast

On white

6.20
#7D48AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7D48AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48AB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48AB#FFFFFF#000000##FFFFFF
##7D48AB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAE
Deuteranopia (green-blind)
#3761A9
Tritanopia (blue-blind)
#765B72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d48ab;
/* rgb */ color: rgb(125, 72, 171);
/* oklch */ color: oklch(51.0% 0.156 306.4);
Tailwind
colors: {
  custom: {
    50: '#a67dc4',
    500: '#7d48ab',
    950: '#000000',
  },
}
SCSS
$custom: #7d48ab;
$custom-light: #a67dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48ab",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 272.121,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51001,
    "c": 0.15612,
    "h": 306.4
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#7D48AB
secondary
#A6C08E
accent
#D15790
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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