#7D2EAB#7D2EAB

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

Color values

HEX#7D2EAB
RGBrgb(125, 46, 171)
HSLhsl(278, 58%, 43%)
HSVhsv(278, 73%, 67%)
CMYKcmyk(26.9%, 73.1%, 0%, 32.9%)
CIE-LABlab(36.47, 54.35, -52.08)
CIE-LCHlch(36.47, 75.28, 316.22°)
OKLaboklab(47.65% 0.123 -0.1475)
OKLCHoklch(47.65% 0.192 309.8)
XYZxyz(16.7837, 9.2546, 39.4223)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EAB #5CAB2E
analogous
#3E2EAB #7D2EAB #AB2E9B
triadic
#7D2EAB #AB7D2E #2EAB7D
tetradic
#7D2EAB #AB3E2E #5CAB2E #2E9BAB
square
#7D2EAB #AB3E2E #5CAB2E #2E9BAB
split-complementary
#7D2EAB #9BAB2E #2EAB3E
monochromatic
#36144B #5A217B #7D2EAB #9D48CE #B779DB

Accessibility & contrast

On white

7.37
#7D2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7D2EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2EAB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EAB#FFFFFF#000000##FFFFFF
##7D2EAB1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#1257A8
Tritanopia (blue-blind)
#764B6A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2eab;
/* rgb */ color: rgb(125, 46, 171);
/* oklch */ color: oklch(47.7% 0.192 309.8);
Tailwind
colors: {
  custom: {
    50: '#a76ec5',
    500: '#7d2eab',
    950: '#000000',
  },
}
SCSS
$custom: #7d2eab;
$custom-light: #a76ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2eab",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 277.92,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.19209,
    "h": 309.8
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#7D2EAB
secondary
#90C372
accent
#E14780
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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