#7D4BCD#7D4BCD

#7D4BCD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.192 H 297.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7D4BCD
RGBrgb(125, 75, 205)
HSLhsl(263, 57%, 55%)
HSVhsv(263, 63%, 80%)
CMYKcmyk(39%, 63.4%, 0%, 19.6%)
CIE-LABlab(43.94, 48.57, -59.93)
CIE-LCHlch(43.94, 77.14, 309.02°)
OKLaboklab(53.77% 0.0877 -0.1707)
OKLCHoklch(53.77% 0.192 297.2)
XYZxyz(21.9901, 13.7995, 59.2508)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BCD #9BCD4B
analogous
#4B5ACD #7D4BCD #BE4BCD
triadic
#7D4BCD #CD7D4B #4BCD7D
tetradic
#7D4BCD #CD4B5A #9BCD4B #4BCDBE
square
#7D4BCD #CD4B5A #9BCD4B #4BCDBE
split-complementary
#7D4BCD #CDBE4B #5ACD4B
monochromatic
#45227B #5F30AB #7D4BCD #A07BDA #C2ABE8

Accessibility & contrast

On white

5.59
#7D4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7D4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BCD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BCD#FFFFFF#000000##FFFFFF
##7D4BCD1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#6A6885
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d4bcd;
/* rgb */ color: rgb(125, 75, 205);
/* oklch */ color: oklch(53.8% 0.192 297.2);
Tailwind
colors: {
  custom: {
    50: '#a880dd',
    500: '#7d4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bcd;
$custom-light: #a880dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bcd",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 263.077,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53773,
    "c": 0.19195,
    "h": 297.2
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#7D4BCD
secondary
#C0D59F
accent
#E048A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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