#7D2BAC#7D2BAC

#7D2BAC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.196 H 309.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7D2BAC
RGBrgb(125, 43, 172)
HSLhsl(278, 60%, 42%)
HSVhsv(278, 75%, 67%)
CMYKcmyk(27.3%, 75%, 0%, 32.5%)
CIE-LABlab(36.11, 55.79, -53.26)
CIE-LCHlch(36.11, 77.13, 316.33°)
OKLaboklab(47.42% 0.1258 -0.151)
OKLCHoklch(47.42% 0.196 309.8)
XYZxyz(16.7662, 9.0666, 39.8885)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BAC #5AAC2B
analogous
#3D2BAC #7D2BAC #AC2B9A
triadic
#7D2BAC #AC7D2B #2BAC7D
tetradic
#7D2BAC #AC3D2B #5AAC2B #2B9AAC
square
#7D2BAC #AC3D2B #5AAC2B #2B9AAC
split-complementary
#7D2BAC #9AAC2B #2BAC3D
monochromatic
#36134A #591F7B #7D2BAC #9D44D0 #B775DC

Accessibility & contrast

On white

7.46
#7D2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7D2BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BAC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BAC#FFFFFF#000000##FFFFFF
##7D2BAC1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0756A9
Tritanopia (blue-blind)
#76496A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2bac;
/* rgb */ color: rgb(125, 43, 172);
/* oklch */ color: oklch(47.4% 0.196 309.8);
Tailwind
colors: {
  custom: {
    50: '#a76dc6',
    500: '#7d2bac',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bac;
$custom-light: #a76dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bac",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 278.14,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47421,
    "c": 0.19649,
    "h": 309.8
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#7D2BAC
secondary
#8EC46F
accent
#E3457E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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