#7D2CB6#7D2CB6

#7D2CB6 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.205 H 306.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7D2CB6
RGBrgb(125, 44, 182)
HSLhsl(275, 61%, 44%)
HSVhsv(275, 76%, 71%)
CMYKcmyk(31.3%, 75.8%, 0%, 28.6%)
CIE-LABlab(37.00, 57.61, -57.76)
CIE-LCHlch(37.00, 81.58, 314.92°)
OKLaboklab(48.29% 0.1229 -0.1642)
OKLCHoklch(48.29% 0.205 306.8)
XYZxyz(17.7998, 9.5389, 45.1504)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CB6 #65B62C
analogous
#382CB6 #7D2CB6 #B62CAA
triadic
#7D2CB6 #B67D2C #2CB67D
tetradic
#7D2CB6 #B6382C #65B62C #2CAAB6
square
#7D2CB6 #B6382C #65B62C #2CAAB6
split-complementary
#7D2CB6 #AAB62C #2CB638
monochromatic
#391453 #5B2085 #7D2CB6 #9B4CD4 #B77DE0

Accessibility & contrast

On white

7.22
#7D2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7D2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CB6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CB6#FFFFFF#000000##FFFFFF
##7D2CB61.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#734E70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2cb6;
/* rgb */ color: rgb(125, 44, 182);
/* oklch */ color: oklch(48.3% 0.205 306.8);
Tailwind
colors: {
  custom: {
    50: '#a86ecd',
    500: '#7d2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cb6;
$custom-light: #a86ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cb6",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 275.217,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48285,
    "c": 0.20511,
    "h": 306.8
  },
  "luminance": 0.09539
}

Semantic roles & 50–950 ramp

primary
#7D2CB6
secondary
#98C876
accent
#E44486
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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