#7D4BBE#7D4BBE

#7D4BBE is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.174 H 300.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7D4BBE
RGBrgb(125, 75, 190)
HSLhsl(266, 47%, 52%)
HSVhsv(266, 61%, 75%)
CMYKcmyk(34.2%, 60.5%, 0%, 25.5%)
CIE-LABlab(42.93, 44.71, -52.87)
CIE-LCHlch(42.93, 69.24, 310.22°)
OKLaboklab(52.71% 0.0886 -0.15)
OKLCHoklch(52.71% 0.174 300.6)
XYZxyz(20.2656, 13.1097, 50.1680)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BBE #8CBE4B
analogous
#4B53BE #7D4BBE #B74BBE
triadic
#7D4BBE #BE7D4B #4BBE7D
tetradic
#7D4BBE #BE4B53 #8CBE4B #4BBEB7
square
#7D4BBE #BE4B53 #8CBE4B #4BBEB7
split-complementary
#7D4BBE #BEB74B #53BE4B
monochromatic
#432669 #603696 #7D4BBE #9D78CE #BEA5DE

Accessibility & contrast

On white

5.80
#7D4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7D4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BBE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BBE#FFFFFF#000000##FFFFFF
##7D4BBE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#2565BB
Tritanopia (blue-blind)
#6F637D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d4bbe;
/* rgb */ color: rgb(125, 75, 190);
/* oklch */ color: oklch(52.7% 0.174 300.6);
Tailwind
colors: {
  custom: {
    50: '#a780d2',
    500: '#7d4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bbe;
$custom-light: #a780d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bbe",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 266.087,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.1742,
    "h": 300.6
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#7D4BBE
secondary
#B6CC99
accent
#D7519D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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