#7D48DD#7D48DD

#7D48DD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.214 H 294.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7D48DD
RGBrgb(125, 72, 221)
HSLhsl(261, 69%, 57%)
HSVhsv(261, 67%, 87%)
CMYKcmyk(43.4%, 67.4%, 0%, 13.3%)
CIE-LABlab(44.54, 54.30, -68.14)
CIE-LCHlch(44.54, 87.13, 308.55°)
OKLaboklab(54.57% 0.089 -0.1949)
OKLCHoklch(54.57% 0.214 294.5)
XYZxyz(23.8224, 14.2145, 69.8811)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48DD #A8DD48
analogous
#485EDD #7D48DD #C748DD
triadic
#7D48DD #DD7D48 #48DD7D
tetradic
#7D48DD #DD485E #A8DD48 #48DDC7
square
#7D48DD #DD485E #A8DD48 #48DDC7
split-complementary
#7D48DD #DDC748 #5EDD48
monochromatic
#441B90 #5D24C3 #7D48DD #A27CE7 #C6AFF0

Accessibility & contrast

On white

5.46
#7D48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7D48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48DD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48DD#FFFFFF#000000##FFFFFF
##7D48DD1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#626C8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d48dd;
/* rgb */ color: rgb(125, 72, 221);
/* oklch */ color: oklch(54.6% 0.214 294.5);
Tailwind
colors: {
  custom: {
    50: '#aa7fe9',
    500: '#7d48dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d48dd;
$custom-light: #aa7fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48dd",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 261.342,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.21421,
    "h": 294.5
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#7D48DD
secondary
#C9DEA2
accent
#EC3CAD
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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