#7D2EB7#7D2EB7

#7D2EB7 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.204 H 306.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7D2EB7
RGBrgb(125, 46, 183)
HSLhsl(275, 60%, 45%)
HSVhsv(275, 75%, 72%)
CMYKcmyk(31.7%, 74.9%, 0%, 28.2%)
CIE-LABlab(37.36, 57.03, -57.77)
CIE-LCHlch(37.36, 81.18, 314.63°)
OKLaboklab(48.56% 0.1209 -0.1642)
OKLCHoklch(48.56% 0.204 306.3)
XYZxyz(17.9798, 9.7330, 45.7220)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EB7 #68B72E
analogous
#392EB7 #7D2EB7 #B72EAC
triadic
#7D2EB7 #B77D2E #2EB77D
tetradic
#7D2EB7 #B7392E #68B72E #2EACB7
square
#7D2EB7 #B7392E #68B72E #2EACB7
split-complementary
#7D2EB7 #ACB72E #2EB739
monochromatic
#3A1555 #5C2286 #7D2EB7 #9B4FD3 #B780DF

Accessibility & contrast

On white

7.13
#7D2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7D2EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2EB7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EB7#FFFFFF#000000##FFFFFF
##7D2EB71.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#735071
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d2eb7;
/* rgb */ color: rgb(125, 46, 183);
/* oklch */ color: oklch(48.6% 0.204 306.3);
Tailwind
colors: {
  custom: {
    50: '#a86fcd',
    500: '#7d2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #7d2eb7;
$custom-light: #a86fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2eb7",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 274.599,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4856,
    "c": 0.20393,
    "h": 306.3
  },
  "luminance": 0.09733
}

Semantic roles & 50–950 ramp

primary
#7D2EB7
secondary
#9AC879
accent
#E34588
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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