#7D2CAB#7D2CAB

#7D2CAB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.194 H 310.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7D2CAB
RGBrgb(125, 44, 171)
HSLhsl(278, 59%, 42%)
HSVhsv(278, 74%, 67%)
CMYKcmyk(26.9%, 74.3%, 0%, 32.9%)
CIE-LABlab(36.18, 55.17, -52.55)
CIE-LCHlch(36.18, 76.20, 316.39°)
OKLaboklab(47.45% 0.125 -0.1489)
OKLCHoklch(47.45% 0.194 310)
XYZxyz(16.7074, 9.1020, 39.3969)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CAB #5AAB2C
analogous
#3E2CAB #7D2CAB #AB2C9A
triadic
#7D2CAB #AB7D2C #2CAB7D
tetradic
#7D2CAB #AB3E2C #5AAB2C #2C9AAB
square
#7D2CAB #AB3E2C #5AAB2C #2C9AAB
split-complementary
#7D2CAB #9AAB2C #2CAB3E
monochromatic
#36134A #591F7A #7D2CAB #9D45CF #B776DC

Accessibility & contrast

On white

7.45
#7D2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7D2CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CAB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CAB#FFFFFF#000000##FFFFFF
##7D2CAB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0D56A8
Tritanopia (blue-blind)
#764969
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2cab;
/* rgb */ color: rgb(125, 44, 171);
/* oklch */ color: oklch(47.4% 0.194 310.0);
Tailwind
colors: {
  custom: {
    50: '#a76dc5',
    500: '#7d2cab',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cab;
$custom-light: #a76dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cab",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 278.268,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.19441,
    "h": 310
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#7D2CAB
secondary
#8EC36F
accent
#E2467E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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