#7D4BB3#7D4BB3

#7D4BB3 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.161 H 303.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7D4BB3
RGBrgb(125, 75, 179)
HSLhsl(269, 41%, 50%)
HSVhsv(269, 58%, 70%)
CMYKcmyk(30.2%, 58.1%, 0%, 29.8%)
CIE-LABlab(42.23, 41.93, -47.56)
CIE-LCHlch(42.23, 63.40, 311.41°)
OKLaboklab(51.98% 0.0888 -0.1344)
OKLCHoklch(51.98% 0.161 303.4)
XYZxyz(19.1084, 12.6468, 44.0735)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BB3 #81B34B
analogous
#4B4DB3 #7D4BB3 #B14BB3
triadic
#7D4BB3 #B37D4B #4BB37D
tetradic
#7D4BB3 #B34B4D #81B34B #4BB3B1
square
#7D4BB3 #B34B4D #81B34B #4BB3B1
split-complementary
#7D4BB3 #B3B14B #4DB34B
monochromatic
#41275D #5F3988 #7D4BB3 #9C76C5 #BBA1D8

Accessibility & contrast

On white

5.95
#7D4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7D4BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BB3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BB3#FFFFFF#000000##FFFFFF
##7D4BB31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E63B6
Deuteranopia (green-blind)
#3364B1
Tritanopia (blue-blind)
#736078
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d4bb3;
/* rgb */ color: rgb(125, 75, 179);
/* oklch */ color: oklch(52.0% 0.161 303.4);
Tailwind
colors: {
  custom: {
    50: '#a67fca',
    500: '#7d4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bb3;
$custom-light: #a67fca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bb3",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 268.846,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51975,
    "c": 0.16104,
    "h": 303.4
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#7D4BB3
secondary
#AEC495
accent
#D15796
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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