#7D2BAE#7D2BAE

#7D2BAE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.6% C 0.198 H 309.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7D2BAE
RGBrgb(125, 43, 174)
HSLhsl(278, 60%, 43%)
HSVhsv(278, 75%, 68%)
CMYKcmyk(28.2%, 75.3%, 0%, 31.8%)
CIE-LABlab(36.26, 56.23, -54.21)
CIE-LCHlch(36.26, 78.11, 316.05°)
OKLaboklab(47.57% 0.1254 -0.1538)
OKLCHoklch(47.57% 0.198 309.2)
XYZxyz(16.9598, 9.1440, 40.9077)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BAE #5CAE2B
analogous
#3B2BAE #7D2BAE #AE2B9E
triadic
#7D2BAE #AE7D2B #2BAE7D
tetradic
#7D2BAE #AE3B2B #5CAE2B #2B9EAE
square
#7D2BAE #AE3B2B #5CAE2B #2B9EAE
split-complementary
#7D2BAE #9EAE2B #2BAE3B
monochromatic
#36134C #5A1F7D #7D2BAE #9D45D1 #B776DD

Accessibility & contrast

On white

7.42
#7D2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7D2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BAE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BAE#FFFFFF#000000##FFFFFF
##7D2BAE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#764A6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2bae;
/* rgb */ color: rgb(125, 43, 174);
/* oklch */ color: oklch(47.6% 0.198 309.2);
Tailwind
colors: {
  custom: {
    50: '#a76dc7',
    500: '#7d2bae',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bae;
$custom-light: #a76dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bae",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 277.557,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.19842,
    "h": 309.2
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#7D2BAE
secondary
#90C570
accent
#E44480
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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