#7D2ACA#7D2ACA

#7D2ACA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.7% C 0.226 H 301.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7D2ACA
RGBrgb(125, 42, 202)
HSLhsl(271, 66%, 48%)
HSVhsv(271, 79%, 79%)
CMYKcmyk(38.1%, 79.2%, 0%, 20.8%)
CIE-LABlab(38.34, 62.89, -67.31)
CIE-LCHlch(38.34, 92.12, 313.06°)
OKLaboklab(49.72% 0.1196 -0.1922)
OKLCHoklch(49.72% 0.226 301.9)
XYZxyz(19.9435, 10.2801, 56.7992)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2ACA #77CA2A
analogous
#2D2ACA #7D2ACA #CA2AC7
triadic
#7D2ACA #CA7D2A #2ACA7D
tetradic
#7D2ACA #CA2D2A #77CA2A #2AC7CA
square
#7D2ACA #CA2D2A #77CA2A #2AC7CA
split-complementary
#7D2ACA #C7CA2A #2ACA2D
monochromatic
#3E1565 #5E1F97 #7D2ACA #9B55DC #B988E6

Accessibility & contrast

On white

6.87
#7D2ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7D2ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2ACA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2ACA#FFFFFF#000000##FFFFFF
##7D2ACA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#6C567B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d2aca;
/* rgb */ color: rgb(125, 42, 202);
/* oklch */ color: oklch(49.7% 0.226 301.9);
Tailwind
colors: {
  custom: {
    50: '#aa6edb',
    500: '#7d2aca',
    950: '#000000',
  },
}
SCSS
$custom: #7d2aca;
$custom-light: #aa6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2aca",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 271.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.22641,
    "h": 301.9
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#7D2ACA
secondary
#A6D080
accent
#E93F91
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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