#7D2AC0#7D2AC0

#7D2AC0 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.217 H 304.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7D2AC0
RGBrgb(125, 42, 192)
HSLhsl(273, 64%, 46%)
HSVhsv(273, 78%, 75%)
CMYKcmyk(34.9%, 78.1%, 0%, 24.7%)
CIE-LABlab(37.52, 60.62, -62.81)
CIE-LCHlch(37.52, 87.29, 313.99°)
OKLaboklab(48.89% 0.1223 -0.179)
OKLCHoklch(48.89% 0.217 304.3)
XYZxyz(18.7976, 9.8217, 50.7644)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2AC0 #6DC02A
analogous
#322AC0 #7D2AC0 #C02AB8
triadic
#7D2AC0 #C07D2A #2AC07D
tetradic
#7D2AC0 #C0322A #6DC02A #2AB8C0
square
#7D2AC0 #C0322A #6DC02A #2AB8C0
split-complementary
#7D2AC0 #B8C02A #2AC032
monochromatic
#3C145C #5C1F8E #7D2AC0 #9B4FD8 #B781E3

Accessibility & contrast

On white

7.08
#7D2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7D2AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2AC0
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2AC0#FFFFFF#000000##FFFFFF
##7D2AC01.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#705175
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d2ac0;
/* rgb */ color: rgb(125, 42, 192);
/* oklch */ color: oklch(48.9% 0.217 304.3);
Tailwind
colors: {
  custom: {
    50: '#a96dd4',
    500: '#7d2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ac0;
$custom-light: #a96dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ac0",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 273.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.21679,
    "h": 304.3
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#7D2AC0
secondary
#9ECC7A
accent
#E7418B
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7D2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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