#7D48BF#7D48BF

#7D48BF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.180 H 300.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7D48BF
RGBrgb(125, 72, 191)
HSLhsl(267, 48%, 52%)
HSVhsv(267, 62%, 75%)
CMYKcmyk(34.6%, 62.3%, 0%, 25.1%)
CIE-LABlab(42.39, 46.57, -54.32)
CIE-LCHlch(42.39, 71.55, 310.61°)
OKLaboklab(52.35% 0.0921 -0.1542)
OKLCHoklch(52.35% 0.18 300.9)
XYZxyz(20.1765, 12.7562, 50.6793)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48BF #8ABF48
analogous
#484FBF #7D48BF #B948BF
triadic
#7D48BF #BF7D48 #48BF7D
tetradic
#7D48BF #BF484F #8ABF48 #48BFB9
square
#7D48BF #BF484F #8ABF48 #48BFB9
split-complementary
#7D48BF #BFB948 #4FBF48
monochromatic
#432468 #603496 #7D48BF #9D75CF #BDA3DF

Accessibility & contrast

On white

5.91
#7D48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7D48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48BF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48BF#FFFFFF#000000##FFFFFF
##7D48BF1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1D63BC
Tritanopia (blue-blind)
#6F627D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d48bf;
/* rgb */ color: rgb(125, 72, 191);
/* oklch */ color: oklch(52.3% 0.180 300.9);
Tailwind
colors: {
  custom: {
    50: '#a77ed3',
    500: '#7d48bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d48bf;
$custom-light: #a77ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48bf",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 266.723,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.17966,
    "h": 300.9
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#7D48BF
secondary
#B4CC97
accent
#D8509B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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