#7D2BA7#7D2BA7

#7D2BA7 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.192 H 311.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7D2BA7
RGBrgb(125, 43, 167)
HSLhsl(280, 59%, 41%)
HSVhsv(280, 74%, 65%)
CMYKcmyk(25.1%, 74.3%, 0%, 34.5%)
CIE-LABlab(35.75, 54.71, -50.85)
CIE-LCHlch(35.75, 74.69, 317.09°)
OKLaboklab(47.05% 0.1266 -0.1439)
OKLCHoklch(47.05% 0.192 311.3)
XYZxyz(16.2951, 8.8782, 37.4070)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BA7 #55A72B
analogous
#3F2BA7 #7D2BA7 #A72B93
triadic
#7D2BA7 #A77D2B #2BA77D
tetradic
#7D2BA7 #A73F2B #55A72B #2B93A7
square
#7D2BA7 #A73F2B #55A72B #2B93A7
split-complementary
#7D2BA7 #93A72B #2BA73F
monochromatic
#341246 #591E76 #7D2BA7 #9E41CE #B772DB

Accessibility & contrast

On white

7.57
#7D2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7D2BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BA7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BA7#FFFFFF#000000##FFFFFF
##7D2BA71.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#1656A4
Tritanopia (blue-blind)
#784767
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d2ba7;
/* rgb */ color: rgb(125, 43, 167);
/* oklch */ color: oklch(47.0% 0.192 311.3);
Tailwind
colors: {
  custom: {
    50: '#a76dc2',
    500: '#7d2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ba7;
$custom-light: #a76dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ba7",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 279.677,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.19168,
    "h": 311.3
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#7D2BA7
secondary
#89C26C
accent
#E2467B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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