#7D2EB4#7D2EB4

#7D2EB4 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.201 H 307.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7D2EB4
RGBrgb(125, 46, 180)
HSLhsl(275, 59%, 44%)
HSVhsv(275, 74%, 71%)
CMYKcmyk(30.6%, 74.4%, 0%, 29.4%)
CIE-LABlab(37.13, 56.35, -56.36)
CIE-LCHlch(37.13, 79.70, 315.00°)
OKLaboklab(48.33% 0.1215 -0.1601)
OKLCHoklch(48.33% 0.201 307.2)
XYZxyz(17.6709, 9.6095, 44.0951)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EB4 #65B42E
analogous
#3A2EB4 #7D2EB4 #B42EA8
triadic
#7D2EB4 #B47D2E #2EB47D
tetradic
#7D2EB4 #B43A2E #65B42E #2EA8B4
square
#7D2EB4 #B43A2E #65B42E #2EA8B4
split-complementary
#7D2EB4 #A8B42E #2EB43A
monochromatic
#391553 #5B2283 #7D2EB4 #9B4ED2 #B77EDE

Accessibility & contrast

On white

7.19
#7D2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7D2EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2EB4
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EB4#FFFFFF#000000##FFFFFF
##7D2EB41.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#744E6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2eb4;
/* rgb */ color: rgb(125, 46, 180);
/* oklch */ color: oklch(48.3% 0.201 307.2);
Tailwind
colors: {
  custom: {
    50: '#a86fcb',
    500: '#7d2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #7d2eb4;
$custom-light: #a86fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2eb4",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 275.373,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.20097,
    "h": 307.2
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#7D2EB4
secondary
#98C777
accent
#E24586
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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