#7D48BC#7D48BC

#7D48BC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.176 H 301.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7D48BC
RGBrgb(125, 72, 188)
HSLhsl(267, 46%, 51%)
HSVhsv(267, 62%, 74%)
CMYKcmyk(33.5%, 61.7%, 0%, 26.3%)
CIE-LABlab(42.19, 45.81, -52.89)
CIE-LCHlch(42.19, 69.97, 310.90°)
OKLaboklab(52.14% 0.0923 -0.15)
OKLCHoklch(52.14% 0.176 301.6)
XYZxyz(19.8498, 12.6255, 48.9584)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48BC #87BC48
analogous
#484DBC #7D48BC #B748BC
triadic
#7D48BC #BC7D48 #48BC7D
tetradic
#7D48BC #BC484D #87BC48 #48BCB7
square
#7D48BC #BC484D #87BC48 #48BCB7
split-complementary
#7D48BC #BCB748 #4DBC48
monochromatic
#422565 #5F3592 #7D48BC #9D75CC #BDA2DD

Accessibility & contrast

On white

5.96
#7D48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7D48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48BC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48BC#FFFFFF#000000##FFFFFF
##7D48BC1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#70617B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d48bc;
/* rgb */ color: rgb(125, 72, 188);
/* oklch */ color: oklch(52.1% 0.176 301.6);
Tailwind
colors: {
  custom: {
    50: '#a77ed1',
    500: '#7d48bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d48bc;
$custom-light: #a77ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48bc",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 267.414,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.17615,
    "h": 301.6
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#7D48BC
secondary
#B2CA96
accent
#D6529A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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