#7D4BC3#7D4BC3

#7D4BC3 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.180 H 299.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7D4BC3
RGBrgb(125, 75, 195)
HSLhsl(265, 50%, 53%)
HSVhsv(265, 62%, 76%)
CMYKcmyk(35.9%, 61.5%, 0%, 23.5%)
CIE-LABlab(43.26, 45.98, -55.25)
CIE-LCHlch(43.26, 71.88, 309.77°)
OKLaboklab(53.06% 0.0884 -0.157)
OKLCHoklch(53.06% 0.18 299.4)
XYZxyz(20.8214, 13.3321, 53.0956)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BC3 #91C34B
analogous
#4B55C3 #7D4BC3 #B94BC3
triadic
#7D4BC3 #C37D4B #4BC37D
tetradic
#7D4BC3 #C34B55 #91C34B #4BC3B9
square
#7D4BC3 #C34B55 #91C34B #4BC3B9
split-complementary
#7D4BC3 #C3B94B #55C34B
monochromatic
#44256F #60349D #7D4BC3 #9E79D2 #BFA7E2

Accessibility & contrast

On white

5.73
#7D4BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7D4BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BC3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BC3#FFFFFF#000000##FFFFFF
##7D4BC31.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1C65C0
Tritanopia (blue-blind)
#6E6580
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4bc3;
/* rgb */ color: rgb(125, 75, 195);
/* oklch */ color: oklch(53.1% 0.180 299.4);
Tailwind
colors: {
  custom: {
    50: '#a780d6',
    500: '#7d4bc3',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bc3;
$custom-light: #a780d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bc3",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 265,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.18014,
    "h": 299.4
  },
  "luminance": 0.13332
}

Semantic roles & 50–950 ramp

primary
#7D4BC3
secondary
#B9CF9B
accent
#DA4EA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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