#7D4FBC#7D4FBC

#7D4FBC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.166 H 300.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7D4FBC
RGBrgb(125, 79, 188)
HSLhsl(265, 45%, 52%)
HSVhsv(265, 58%, 74%)
CMYKcmyk(33.5%, 58%, 0%, 26.3%)
CIE-LABlab(43.63, 42.00, -50.58)
CIE-LCHlch(43.63, 65.74, 309.70°)
OKLaboklab(53.18% 0.0837 -0.1433)
OKLCHoklch(53.18% 0.166 300.3)
XYZxyz(20.3284, 13.5826, 49.1179)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FBC #8EBC4F
analogous
#4F58BC #7D4FBC #B34FBC
triadic
#7D4FBC #BC7D4F #4FBC7D
tetradic
#7D4FBC #BC4F58 #8EBC4F #4FBCB3
square
#7D4FBC #BC4F58 #8EBC4F #4FBCB3
split-complementary
#7D4FBC #BCB34F #58BC4F
monochromatic
#432869 #603995 #7D4FBC #9E7BCD #BEA8DE

Accessibility & contrast

On white

5.65
#7D4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7D4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FBC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FBC#FFFFFF#000000##FFFFFF
##7D4FBC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#2F66BA
Tritanopia (blue-blind)
#70657E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4fbc;
/* rgb */ color: rgb(125, 79, 188);
/* oklch */ color: oklch(53.2% 0.166 300.3);
Tailwind
colors: {
  custom: {
    50: '#a682d1',
    500: '#7d4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fbc;
$custom-light: #a682d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fbc",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 265.321,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.16592,
    "h": 300.3
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#7D4FBC
secondary
#B7CB9C
accent
#D5539E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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