#7D2ABE#7D2ABE

#7D2ABE is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.215 H 304.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7D2ABE
RGBrgb(125, 42, 190)
HSLhsl(274, 64%, 45%)
HSVhsv(274, 78%, 75%)
CMYKcmyk(34.2%, 77.9%, 0%, 25.5%)
CIE-LABlab(37.36, 60.17, -61.89)
CIE-LCHlch(37.36, 86.32, 314.19°)
OKLaboklab(48.73% 0.1228 -0.1763)
OKLCHoklch(48.73% 0.215 304.8)
XYZxyz(18.5776, 9.7337, 49.6053)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2ABE #6BBE2A
analogous
#332ABE #7D2ABE #BE2AB5
triadic
#7D2ABE #BE7D2A #2ABE7D
tetradic
#7D2ABE #BE332A #6BBE2A #2AB5BE
square
#7D2ABE #BE332A #6BBE2A #2AB5BE
split-complementary
#7D2ABE #B5BE2A #2ABE33
monochromatic
#3B145A #5C1F8C #7D2ABE #9B4DD8 #B780E3

Accessibility & contrast

On white

7.13
#7D2ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7D2ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2ABE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2ABE#FFFFFF#000000##FFFFFF
##7D2ABE1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#715174
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d2abe;
/* rgb */ color: rgb(125, 42, 190);
/* oklch */ color: oklch(48.7% 0.215 304.8);
Tailwind
colors: {
  custom: {
    50: '#a96dd3',
    500: '#7d2abe',
    950: '#000000',
  },
}
SCSS
$custom: #7d2abe;
$custom-light: #a96dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2abe",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 190
  },
  "hsl": {
    "h": 273.649,
    "s": 63.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48731,
    "c": 0.21487,
    "h": 304.8
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#7D2ABE
secondary
#9DCB78
accent
#E7418A
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D2ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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