#7D2BB6#7D2BB6

#7D2BB6 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.206 H 306.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7D2BB6
RGBrgb(125, 43, 182)
HSLhsl(275, 62%, 44%)
HSVhsv(275, 76%, 71%)
CMYKcmyk(31.3%, 76.4%, 0%, 28.6%)
CIE-LABlab(36.87, 58.00, -57.98)
CIE-LCHlch(36.87, 82.01, 315.01°)
OKLaboklab(48.19% 0.1238 -0.1648)
OKLCHoklch(48.19% 0.206 306.9)
XYZxyz(17.7630, 9.4653, 45.1381)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BB6 #64B62B
analogous
#382BB6 #7D2BB6 #B62BAA
triadic
#7D2BB6 #B67D2B #2BB67D
tetradic
#7D2BB6 #B6382B #64B62B #2BAAB6
square
#7D2BB6 #B6382B #64B62B #2BAAB6
split-complementary
#7D2BB6 #AAB62B #2BB638
monochromatic
#391453 #5B1F84 #7D2BB6 #9C4AD4 #B77BE0

Accessibility & contrast

On white

7.26
#7D2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7D2BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BB6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BB6#FFFFFF#000000##FFFFFF
##7D2BB61.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2bb6;
/* rgb */ color: rgb(125, 43, 182);
/* oklch */ color: oklch(48.2% 0.206 306.9);
Tailwind
colors: {
  custom: {
    50: '#a86dcd',
    500: '#7d2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bb6;
$custom-light: #a86dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bb6",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 275.396,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48189,
    "c": 0.20615,
    "h": 306.9
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#7D2BB6
secondary
#97C875
accent
#E54385
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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