#7D3BAA#7D3BAA

#7D3BAA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.174 H 308.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7D3BAA
RGBrgb(125, 59, 170)
HSLhsl(276, 48%, 45%)
HSVhsv(276, 65%, 67%)
CMYKcmyk(26.5%, 65.3%, 0%, 33.3%)
CIE-LABlab(38.53, 48.17, -48.15)
CIE-LCHlch(38.53, 68.11, 315.01°)
OKLaboklab(49.11% 0.1089 -0.1361)
OKLCHoklch(49.11% 0.174 308.7)
XYZxyz(17.2757, 10.3905, 39.1179)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BAA #68AA3B
analogous
#463BAA #7D3BAA #AA3B9F
triadic
#7D3BAA #AA7D3B #3BAA7D
tetradic
#7D3BAA #AA463B #68AA3B #3B9FAA
square
#7D3BAA #AA463B #68AA3B #3B9FAA
split-complementary
#7D3BAA #9FAA3B #3BAA46
monochromatic
#3A1B4F #5C2B7D #7D3BAA #9B5CC6 #B789D6

Accessibility & contrast

On white

6.82
#7D3BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7D3BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BAA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BAA#FFFFFF#000000##FFFFFF
##7D3BAA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#285CA7
Tritanopia (blue-blind)
#76526D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3baa;
/* rgb */ color: rgb(125, 59, 170);
/* oklch */ color: oklch(49.1% 0.174 308.7);
Tailwind
colors: {
  custom: {
    50: '#a675c4',
    500: '#7d3baa',
    950: '#000000',
  },
}
SCSS
$custom: #7d3baa;
$custom-light: #a675c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3baa",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 275.676,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.17427,
    "h": 308.7
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#7D3BAA
secondary
#9AC080
accent
#D85087
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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