#7D2AB0#7D2AB0

#7D2AB0 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.201 H 308.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7D2AB0
RGBrgb(125, 42, 176)
HSLhsl(277, 61%, 43%)
HSVhsv(277, 76%, 69%)
CMYKcmyk(29%, 76.1%, 0%, 31%)
CIE-LABlab(36.27, 57.06, -55.38)
CIE-LCHlch(36.27, 79.52, 315.86°)
OKLaboklab(47.63% 0.1259 -0.1572)
OKLCHoklch(47.63% 0.201 308.7)
XYZxyz(17.1203, 9.1508, 41.9303)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2AB0 #5DB02A
analogous
#3A2AB0 #7D2AB0 #B02AA0
triadic
#7D2AB0 #B07D2A #2AB07D
tetradic
#7D2AB0 #B03A2A #5DB02A #2AA0B0
square
#7D2AB0 #B03A2A #5DB02A #2AA0B0
split-complementary
#7D2AB0 #A0B02A #2AB03A
monochromatic
#37124D #5A1E7F #7D2AB0 #9D45D3 #B776DE

Accessibility & contrast

On white

7.42
#7D2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7D2AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2AB0
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2AB0#FFFFFF#000000##FFFFFF
##7D2AB01.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#754B6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2ab0;
/* rgb */ color: rgb(125, 42, 176);
/* oklch */ color: oklch(47.6% 0.201 308.7);
Tailwind
colors: {
  custom: {
    50: '#a86dc8',
    500: '#7d2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ab0;
$custom-light: #a86dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ab0",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 277.164,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.20143,
    "h": 308.7
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#7D2AB0
secondary
#91C670
accent
#E54381
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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