#7D3BAB#7D3BAB

#7D3BAB is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.175 H 308.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7D3BAB
RGBrgb(125, 59, 171)
HSLhsl(275, 49%, 45%)
HSVhsv(275, 65%, 67%)
CMYKcmyk(26.9%, 65.5%, 0%, 32.9%)
CIE-LABlab(38.60, 48.40, -48.64)
CIE-LCHlch(38.60, 68.62, 314.86°)
OKLaboklab(49.18% 0.1088 -0.1375)
OKLCHoklch(49.18% 0.175 308.4)
XYZxyz(17.3706, 10.4284, 39.6180)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BAB #69AB3B
analogous
#453BAB #7D3BAB #AB3BA1
triadic
#7D3BAB #AB7D3B #3BAB7D
tetradic
#7D3BAB #AB453B #69AB3B #3BA1AB
square
#7D3BAB #AB453B #69AB3B #3BA1AB
split-complementary
#7D3BAB #A1AB3B #3BAB45
monochromatic
#3A1C50 #5C2B7D #7D3BAB #9B5CC7 #B78AD7

Accessibility & contrast

On white

6.81
#7D3BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7D3BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BAB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BAB#FFFFFF#000000##FFFFFF
##7D3BAB1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#275CA8
Tritanopia (blue-blind)
#76526E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3bab;
/* rgb */ color: rgb(125, 59, 171);
/* oklch */ color: oklch(49.2% 0.175 308.4);
Tailwind
colors: {
  custom: {
    50: '#a675c5',
    500: '#7d3bab',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bab;
$custom-light: #a675c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bab",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 275.357,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.17536,
    "h": 308.4
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#7D3BAB
secondary
#9BC181
accent
#D85088
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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