#7D4BC1#7D4BC1

#7D4BC1 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.178 H 299.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7D4BC1
RGBrgb(125, 75, 193)
HSLhsl(265, 49%, 53%)
HSVhsv(265, 61%, 76%)
CMYKcmyk(35.2%, 61.1%, 0%, 24.3%)
CIE-LABlab(43.13, 45.47, -54.30)
CIE-LCHlch(43.13, 70.83, 309.94°)
OKLaboklab(52.92% 0.0885 -0.1542)
OKLCHoklch(52.92% 0.178 299.8)
XYZxyz(20.5968, 13.2422, 51.9126)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BC1 #8FC14B
analogous
#4B54C1 #7D4BC1 #B84BC1
triadic
#7D4BC1 #C17D4B #4BC17D
tetradic
#7D4BC1 #C14B54 #8FC14B #4BC1B8
square
#7D4BC1 #C14B54 #8FC14B #4BC1B8
split-complementary
#7D4BC1 #C1B84B #54C14B
monochromatic
#43256C #60359A #7D4BC1 #9E79D1 #BFA6E0

Accessibility & contrast

On white

5.76
#7D4BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7D4BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BC1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BC1#FFFFFF#000000##FFFFFF
##7D4BC11.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#2065BE
Tritanopia (blue-blind)
#6E647F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4bc1;
/* rgb */ color: rgb(125, 75, 193);
/* oklch */ color: oklch(52.9% 0.178 299.8);
Tailwind
colors: {
  custom: {
    50: '#a780d4',
    500: '#7d4bc1',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bc1;
$custom-light: #a780d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bc1",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 265.424,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52919,
    "c": 0.17777,
    "h": 299.8
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#7D4BC1
secondary
#B8CE9A
accent
#D84F9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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