#7D2BAA#7D2BAA

#7D2BAA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.195 H 310.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7D2BAA
RGBrgb(125, 43, 170)
HSLhsl(279, 60%, 42%)
HSVhsv(279, 75%, 67%)
CMYKcmyk(26.5%, 74.7%, 0%, 33.3%)
CIE-LABlab(35.97, 55.36, -52.30)
CIE-LCHlch(35.97, 76.16, 316.63°)
OKLaboklab(47.27% 0.1261 -0.1481)
OKLCHoklch(47.27% 0.195 310.4)
XYZxyz(16.5756, 8.9904, 38.8846)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BAA #58AA2B
analogous
#3E2BAA #7D2BAA #AA2B98
triadic
#7D2BAA #AA7D2B #2BAA7D
tetradic
#7D2BAA #AA3E2B #58AA2B #2B98AA
square
#7D2BAA #AA3E2B #58AA2B #2B98AA
split-complementary
#7D2BAA #98AA2B #2BAA3E
monochromatic
#351248 #591F79 #7D2BAA #9E43CF #B774DC

Accessibility & contrast

On white

7.51
#7D2BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7D2BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BAA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BAA#FFFFFF#000000##FFFFFF
##7D2BAA1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0E56A7
Tritanopia (blue-blind)
#774968
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2baa;
/* rgb */ color: rgb(125, 43, 170);
/* oklch */ color: oklch(47.3% 0.195 310.4);
Tailwind
colors: {
  custom: {
    50: '#a76dc4',
    500: '#7d2baa',
    950: '#000000',
  },
}
SCSS
$custom: #7d2baa;
$custom-light: #a76dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2baa",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 278.74,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47272,
    "c": 0.19456,
    "h": 310.4
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#7D2BAA
secondary
#8CC36E
accent
#E3457D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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