#7D2EB0#7D2EB0

#7D2EB0 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 48.0% C 0.197 H 308.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7D2EB0
RGBrgb(125, 46, 176)
HSLhsl(276, 59%, 44%)
HSVhsv(276, 74%, 69%)
CMYKcmyk(29%, 73.9%, 0%, 31%)
CIE-LABlab(36.83, 55.46, -54.47)
CIE-LCHlch(36.83, 77.73, 315.51°)
OKLaboklab(48.03% 0.1222 -0.1546)
OKLCHoklch(48.03% 0.197 308.3)
XYZxyz(17.2693, 9.4488, 41.9799)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EB0 #61B02E
analogous
#3C2EB0 #7D2EB0 #B02EA2
triadic
#7D2EB0 #B07D2E #2EB07D
tetradic
#7D2EB0 #B03C2E #61B02E #2EA2B0
square
#7D2EB0 #B03C2E #61B02E #2EA2B0
split-complementary
#7D2EB0 #A2B02E #2EB03C
monochromatic
#38154F #5B217F #7D2EB0 #9C4BD0 #B77CDD

Accessibility & contrast

On white

7.27
#7D2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2EB0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EB0#FFFFFF#000000##FFFFFF
##7D2EB01.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#754D6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2eb0;
/* rgb */ color: rgb(125, 46, 176);
/* oklch */ color: oklch(48.0% 0.197 308.3);
Tailwind
colors: {
  custom: {
    50: '#a76ec8',
    500: '#7d2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2eb0;
$custom-light: #a76ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2eb0",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 276.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48025,
    "c": 0.19703,
    "h": 308.3
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#7D2EB0
secondary
#94C575
accent
#E24683
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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