#7D2CA9#7D2CA9

#7D2CA9 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.192 H 310.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7D2CA9
RGBrgb(125, 44, 169)
HSLhsl(279, 59%, 42%)
HSVhsv(279, 74%, 66%)
CMYKcmyk(26%, 74%, 0%, 33.7%)
CIE-LABlab(36.03, 54.74, -51.59)
CIE-LCHlch(36.03, 75.22, 316.70°)
OKLaboklab(47.3% 0.1253 -0.1461)
OKLCHoklch(47.3% 0.192 310.6)
XYZxyz(16.5182, 9.0263, 38.4005)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CA9 #58A92C
analogous
#3F2CA9 #7D2CA9 #A92C97
triadic
#7D2CA9 #A97D2C #2CA97D
tetradic
#7D2CA9 #A93F2C #58A92C #2C97A9
square
#7D2CA9 #A93F2C #58A92C #2C97A9
split-complementary
#7D2CA9 #97A92C #2CA93F
monochromatic
#351348 #591F78 #7D2CA9 #9E44CE #B774DB

Accessibility & contrast

On white

7.49
#7D2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2CA9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CA9#FFFFFF#000000##FFFFFF
##7D2CA91.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#1356A6
Tritanopia (blue-blind)
#774968
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2ca9;
/* rgb */ color: rgb(125, 44, 169);
/* oklch */ color: oklch(47.3% 0.192 310.6);
Tailwind
colors: {
  custom: {
    50: '#a76dc3',
    500: '#7d2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ca9;
$custom-light: #a76dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ca9",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 278.88,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47298,
    "c": 0.19246,
    "h": 310.6
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#7D2CA9
secondary
#8CC36E
accent
#E2467D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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