#7D4BBA#7D4BBA

#7D4BBA is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.169 H 301.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7D4BBA
RGBrgb(125, 75, 186)
HSLhsl(267, 45%, 51%)
HSVhsv(267, 60%, 73%)
CMYKcmyk(32.8%, 59.7%, 0%, 27.1%)
CIE-LABlab(42.67, 43.69, -50.95)
CIE-LCHlch(42.67, 67.12, 310.61°)
OKLaboklab(52.44% 0.0887 -0.1443)
OKLCHoklch(52.44% 0.169 301.6)
XYZxyz(19.8344, 12.9372, 47.8970)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BBA #88BA4B
analogous
#4B50BA #7D4BBA #B44BBA
triadic
#7D4BBA #BA7D4B #4BBA7D
tetradic
#7D4BBA #BA4B50 #88BA4B #4BBAB4
square
#7D4BBA #BA4B50 #88BA4B #4BBAB4
split-complementary
#7D4BBA #BAB44B #50BA4B
monochromatic
#422664 #5F3790 #7D4BBA #9D77CB #BDA3DC

Accessibility & contrast

On white

5.85
#7D4BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7D4BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BBA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BBA#FFFFFF#000000##FFFFFF
##7D4BBA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F64BE
Deuteranopia (green-blind)
#2B64B7
Tritanopia (blue-blind)
#71627B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d4bba;
/* rgb */ color: rgb(125, 75, 186);
/* oklch */ color: oklch(52.4% 0.169 301.6);
Tailwind
colors: {
  custom: {
    50: '#a67fcf',
    500: '#7d4bba',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bba;
$custom-light: #a67fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bba",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 267.027,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.16942,
    "h": 301.6
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#7D4BBA
secondary
#B3C998
accent
#D4549A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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