#7D2EA9#7D2EA9

#7D2EA9 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.190 H 310.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7D2EA9
RGBrgb(125, 46, 169)
HSLhsl(279, 57%, 42%)
HSVhsv(279, 73%, 66%)
CMYKcmyk(26%, 72.8%, 0%, 33.7%)
CIE-LABlab(36.33, 53.91, -51.12)
CIE-LCHlch(36.33, 74.29, 316.52°)
OKLaboklab(47.51% 0.1233 -0.1447)
OKLCHoklch(47.51% 0.19 310.4)
XYZxyz(16.5945, 9.1789, 38.4260)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EA9 #5AA92E
analogous
#402EA9 #7D2EA9 #A92E97
triadic
#7D2EA9 #A97D2E #2EA97D
tetradic
#7D2EA9 #A9402E #5AA92E #2E97A9
square
#7D2EA9 #A9402E #5AA92E #2E97A9
split-complementary
#7D2EA9 #97A92E #2EA940
monochromatic
#361449 #592179 #7D2EA9 #9D47CD #B777DA

Accessibility & contrast

On white

7.41
#7D2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7D2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2EA9
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EA9#FFFFFF#000000##FFFFFF
##7D2EA91.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#1757A6
Tritanopia (blue-blind)
#774A69
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2ea9;
/* rgb */ color: rgb(125, 46, 169);
/* oklch */ color: oklch(47.5% 0.190 310.4);
Tailwind
colors: {
  custom: {
    50: '#a76ec3',
    500: '#7d2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ea9;
$custom-light: #a76ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ea9",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 278.537,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47505,
    "c": 0.19013,
    "h": 310.4
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#7D2EA9
secondary
#8EC271
accent
#E0477E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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