#7D2BA9#7D2BA9

#7D2BA9 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.194 H 310.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7D2BA9
RGBrgb(125, 43, 169)
HSLhsl(279, 59%, 42%)
HSVhsv(279, 75%, 66%)
CMYKcmyk(26%, 74.6%, 0%, 33.7%)
CIE-LABlab(35.89, 55.14, -51.82)
CIE-LCHlch(35.89, 75.67, 316.78°)
OKLaboklab(47.2% 0.1263 -0.1467)
OKLCHoklch(47.2% 0.194 310.7)
XYZxyz(16.4814, 8.9527, 38.3882)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BA9 #57A92B
analogous
#3E2BA9 #7D2BA9 #A92B96
triadic
#7D2BA9 #A97D2B #2BA97D
tetradic
#7D2BA9 #A93E2B #57A92B #2B96A9
square
#7D2BA9 #A93E2B #57A92B #2B96A9
split-complementary
#7D2BA9 #96A92B #2BA93E
monochromatic
#351247 #591F78 #7D2BA9 #9E42CF #B773DB

Accessibility & contrast

On white

7.53
#7D2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7D2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BA9
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BA9#FFFFFF#000000##FFFFFF
##7D2BA91.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#1156A6
Tritanopia (blue-blind)
#774868
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d2ba9;
/* rgb */ color: rgb(125, 43, 169);
/* oklch */ color: oklch(47.2% 0.194 310.7);
Tailwind
colors: {
  custom: {
    50: '#a76dc3',
    500: '#7d2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ba9;
$custom-light: #a76dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ba9",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 279.048,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47197,
    "c": 0.1936,
    "h": 310.7
  },
  "luminance": 0.08952
}

Semantic roles & 50–950 ramp

primary
#7D2BA9
secondary
#8BC36D
accent
#E3457C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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