#7D2FAA#7D2FAA

#7D2FAA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.190 H 310.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7D2FAA
RGBrgb(125, 47, 170)
HSLhsl(278, 57%, 43%)
HSVhsv(278, 72%, 67%)
CMYKcmyk(26.5%, 72.4%, 0%, 33.3%)
CIE-LABlab(36.55, 53.71, -51.36)
CIE-LCHlch(36.55, 74.31, 316.28°)
OKLaboklab(47.68% 0.1222 -0.1454)
OKLCHoklch(47.68% 0.19 310)
XYZxyz(16.7282, 9.2956, 38.9354)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FAA #5CAA2F
analogous
#402FAA #7D2FAA #AA2F99
triadic
#7D2FAA #AA7D2F #2FAA7D
tetradic
#7D2FAA #AA402F #5CAA2F #2F99AA
square
#7D2FAA #AA402F #5CAA2F #2F99AA
split-complementary
#7D2FAA #99AA2F #2FAA40
monochromatic
#36144A #5A227A #7D2FAA #9D49CD #B779DA

Accessibility & contrast

On white

7.35
#7D2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7D2FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2FAA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FAA#FFFFFF#000000##FFFFFF
##7D2FAA1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#1657A7
Tritanopia (blue-blind)
#774B6A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2faa;
/* rgb */ color: rgb(125, 47, 170);
/* oklch */ color: oklch(47.7% 0.190 310.0);
Tailwind
colors: {
  custom: {
    50: '#a76fc4',
    500: '#7d2faa',
    950: '#000000',
  },
}
SCSS
$custom: #7d2faa;
$custom-light: #a76fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2faa",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 278.049,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47684,
    "c": 0.18993,
    "h": 310
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#7D2FAA
secondary
#90C272
accent
#E0487F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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