#7D4FB5#7D4FB5

#7D4FB5 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.7% C 0.157 H 302.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7D4FB5
RGBrgb(125, 79, 181)
HSLhsl(267, 41%, 51%)
HSVhsv(267, 56%, 71%)
CMYKcmyk(30.9%, 56.4%, 0%, 29%)
CIE-LABlab(43.19, 40.21, -47.18)
CIE-LCHlch(43.19, 61.99, 310.44°)
OKLaboklab(52.72% 0.0836 -0.1333)
OKLCHoklch(52.72% 0.157 302.1)
XYZxyz(19.5920, 13.2881, 45.2398)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FB5 #87B54F
analogous
#4F54B5 #7D4FB5 #B04FB5
triadic
#7D4FB5 #B57D4F #4FB57D
tetradic
#7D4FB5 #B54F54 #87B54F #4FB5B0
square
#7D4FB5 #B54F54 #87B54F #4FB5B0
split-complementary
#7D4FB5 #B5B04F #54B54F
monochromatic
#422961 #5F3B8C #7D4FB5 #9D7AC7 #BDA5D9

Accessibility & contrast

On white

5.74
#7D4FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7D4FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FB5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FB5#FFFFFF#000000##FFFFFF
##7D4FB51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B8
Deuteranopia (green-blind)
#3666B3
Tritanopia (blue-blind)
#72637A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4fb5;
/* rgb */ color: rgb(125, 79, 181);
/* oklch */ color: oklch(52.7% 0.157 302.1);
Tailwind
colors: {
  custom: {
    50: '#a682cc',
    500: '#7d4fb5',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fb5;
$custom-light: #a682cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fb5",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 267.059,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.15734,
    "h": 302.1
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#7D4FB5
secondary
#B2C699
accent
#D1579A
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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