#7D4BC0#7D4BC0

#7D4BC0 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.177 H 300.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7D4BC0
RGBrgb(125, 75, 192)
HSLhsl(266, 48%, 52%)
HSVhsv(266, 61%, 75%)
CMYKcmyk(34.9%, 60.9%, 0%, 24.7%)
CIE-LABlab(43.06, 45.22, -53.83)
CIE-LCHlch(43.06, 70.30, 310.03°)
OKLaboklab(52.85% 0.0885 -0.1528)
OKLCHoklch(52.85% 0.177 300.1)
XYZxyz(20.4856, 13.1977, 51.3271)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BC0 #8EC04B
analogous
#4B54C0 #7D4BC0 #B74BC0
triadic
#7D4BC0 #C07D4B #4BC07D
tetradic
#7D4BC0 #C04B54 #8EC04B #4BC0B7
square
#7D4BC0 #C04B54 #8EC04B #4BC0B7
split-complementary
#7D4BC0 #C0B74B #54C04B
monochromatic
#43256B #603598 #7D4BC0 #9E78D0 #BEA6E0

Accessibility & contrast

On white

5.77
#7D4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7D4BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BC0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BC0#FFFFFF#000000##FFFFFF
##7D4BC01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#2265BD
Tritanopia (blue-blind)
#6F647E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4bc0;
/* rgb */ color: rgb(125, 75, 192);
/* oklch */ color: oklch(52.8% 0.177 300.1);
Tailwind
colors: {
  custom: {
    50: '#a780d4',
    500: '#7d4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bc0;
$custom-light: #a780d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bc0",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 265.641,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5285,
    "c": 0.17658,
    "h": 300.1
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#7D4BC0
secondary
#B7CD9A
accent
#D8509E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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