#7D4CBF#7D4CBF

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

Color values

HEX#7D4CBF
RGBrgb(125, 76, 191)
HSLhsl(266, 47%, 52%)
HSVhsv(266, 60%, 75%)
CMYKcmyk(34.6%, 60.2%, 0%, 25.1%)
CIE-LABlab(43.20, 44.42, -53.02)
CIE-LCHlch(43.20, 69.17, 309.95°)
OKLaboklab(52.93% 0.0874 -0.1504)
OKLCHoklch(52.93% 0.174 300.1)
XYZxyz(20.4436, 13.2903, 50.7683)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CBF #8EBF4C
analogous
#4C55BF #7D4CBF #B64CBF
triadic
#7D4CBF #BF7D4C #4CBF7D
tetradic
#7D4CBF #BF4C55 #8EBF4C #4CBFB6
square
#7D4CBF #BF4C55 #8EBF4C #4CBFB6
split-complementary
#7D4CBF #BFB64C #55BF4C
monochromatic
#43266B #603698 #7D4CBF #9E79CF #BEA6DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D4CBF#FFFFFF#000000##FFFFFF
##7D4CBF1.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)
#0266C3
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#6F647E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4cbf;
/* rgb */ color: rgb(125, 76, 191);
/* oklch */ color: oklch(52.9% 0.174 300.1);
Tailwind
colors: {
  custom: {
    50: '#a780d3',
    500: '#7d4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cbf;
$custom-light: #a780d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cbf",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 265.565,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.17395,
    "h": 300.1
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#7D4CBF
secondary
#B7CC9A
accent
#D7519E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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