#7D4FBB#7D4FBB

#7D4FBB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.165 H 300.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7D4FBB
RGBrgb(125, 79, 187)
HSLhsl(266, 44%, 52%)
HSVhsv(266, 58%, 73%)
CMYKcmyk(33.2%, 57.8%, 0%, 26.7%)
CIE-LABlab(43.57, 41.74, -50.10)
CIE-LCHlch(43.57, 65.21, 309.80°)
OKLaboklab(53.12% 0.0837 -0.1418)
OKLCHoklch(53.12% 0.165 300.5)
XYZxyz(20.2209, 13.5397, 48.5522)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FBB #8DBB4F
analogous
#4F57BB #7D4FBB #B34FBB
triadic
#7D4FBB #BB7D4F #4FBB7D
tetradic
#7D4FBB #BB4F57 #8DBB4F #4FBBB3
square
#7D4FBB #BB4F57 #8DBB4F #4FBBB3
split-complementary
#7D4FBB #BBB34F #57BB4F
monochromatic
#432868 #603994 #7D4FBB #9E7BCC #BEA7DD

Accessibility & contrast

On white

5.66
#7D4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7D4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FBB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FBB#FFFFFF#000000##FFFFFF
##7D4FBB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#3066B9
Tritanopia (blue-blind)
#70657D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4fbb;
/* rgb */ color: rgb(125, 79, 187);
/* oklch */ color: oklch(53.1% 0.165 300.5);
Tailwind
colors: {
  custom: {
    50: '#a682d0',
    500: '#7d4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fbb;
$custom-light: #a682d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fbb",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 265.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53116,
    "c": 0.1647,
    "h": 300.5
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

primary
#7D4FBB
secondary
#B6CA9B
accent
#D4549D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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