#7D3BA7#7D3BA7

#7D3BA7 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.171 H 309.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7D3BA7
RGBrgb(125, 59, 167)
HSLhsl(277, 48%, 44%)
HSVhsv(277, 65%, 65%)
CMYKcmyk(25.1%, 64.7%, 0%, 34.5%)
CIE-LABlab(38.34, 47.47, -46.68)
CIE-LCHlch(38.34, 66.58, 315.48°)
OKLaboklab(48.9% 0.1091 -0.1317)
OKLCHoklch(48.9% 0.171 309.6)
XYZxyz(16.9951, 10.2782, 37.6403)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BA7 #65A73B
analogous
#473BA7 #7D3BA7 #A73B9B
triadic
#7D3BA7 #A77D3B #3BA77D
tetradic
#7D3BA7 #A7473B #65A73B #3B9BA7
square
#7D3BA7 #A7473B #65A73B #3B9BA7
split-complementary
#7D3BA7 #9BA73B #3BA747
monochromatic
#391B4D #5B2B7A #7D3BA7 #9B5AC5 #B788D5

Accessibility & contrast

On white

6.87
#7D3BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7D3BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BA7
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BA7#FFFFFF#000000##FFFFFF
##7D3BA71.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#2C5BA5
Tritanopia (blue-blind)
#77516C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3ba7;
/* rgb */ color: rgb(125, 59, 167);
/* oklch */ color: oklch(48.9% 0.171 309.6);
Tailwind
colors: {
  custom: {
    50: '#a675c2',
    500: '#7d3ba7',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ba7;
$custom-light: #a675c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ba7",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 276.667,
    "s": 47.788,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48901,
    "c": 0.17103,
    "h": 309.6
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#7D3BA7
secondary
#98BF7F
accent
#D75085
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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