#7D4FB7#7D4FB7

#7D4FB7 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.160 H 301.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7D4FB7
RGBrgb(125, 79, 183)
HSLhsl(267, 42%, 51%)
HSVhsv(267, 57%, 72%)
CMYKcmyk(31.7%, 56.8%, 0%, 28.2%)
CIE-LABlab(43.32, 40.72, -48.16)
CIE-LCHlch(43.32, 63.06, 310.22°)
OKLaboklab(52.85% 0.0837 -0.1361)
OKLCHoklch(52.85% 0.16 301.6)
XYZxyz(19.7987, 13.3708, 46.3283)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FB7 #89B74F
analogous
#4F55B7 #7D4FB7 #B14FB7
triadic
#7D4FB7 #B77D4F #4FB77D
tetradic
#7D4FB7 #B74F55 #89B74F #4FB7B1
square
#7D4FB7 #B74F55 #89B74F #4FB7B1
split-complementary
#7D4FB7 #B7B14F #55B74F
monochromatic
#422963 #603A8F #7D4FB7 #9D7AC9 #BDA6DB

Accessibility & contrast

On white

5.72
#7D4FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7D4FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FB7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FB7#FFFFFF#000000##FFFFFF
##7D4FB71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BA
Deuteranopia (green-blind)
#3466B5
Tritanopia (blue-blind)
#72647B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4fb7;
/* rgb */ color: rgb(125, 79, 183);
/* oklch */ color: oklch(52.9% 0.160 301.6);
Tailwind
colors: {
  custom: {
    50: '#a682cd',
    500: '#7d4fb7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fb7;
$custom-light: #a682cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fb7",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 266.538,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.15979,
    "h": 301.6
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#7D4FB7
secondary
#B4C89A
accent
#D2569B
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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