#7D2BB4#7D2BB4

#7D2BB4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.204 H 307.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7D2BB4
RGBrgb(125, 43, 180)
HSLhsl(276, 61%, 44%)
HSVhsv(276, 76%, 71%)
CMYKcmyk(30.6%, 76.1%, 0%, 29.4%)
CIE-LABlab(36.71, 57.55, -57.04)
CIE-LCHlch(36.71, 81.03, 315.25°)
OKLaboklab(48.03% 0.1242 -0.1621)
OKLCHoklch(48.03% 0.204 307.5)
XYZxyz(17.5578, 9.3833, 44.0574)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BB4 #62B42B
analogous
#382BB4 #7D2BB4 #B42BA6
triadic
#7D2BB4 #B47D2B #2BB47D
tetradic
#7D2BB4 #B4382B #62B42B #2BA6B4
square
#7D2BB4 #B4382B #62B42B #2BA6B4
split-complementary
#7D2BB4 #A6B42B #2BB438
monochromatic
#381351 #5B1F83 #7D2BB4 #9C49D3 #B77ADF

Accessibility & contrast

On white

7.30
#7D2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7D2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BB4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BB4#FFFFFF#000000##FFFFFF
##7D2BB41.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#744D6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2bb4;
/* rgb */ color: rgb(125, 43, 180);
/* oklch */ color: oklch(48.0% 0.204 307.5);
Tailwind
colors: {
  custom: {
    50: '#a86dcb',
    500: '#7d2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bb4;
$custom-light: #a86dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bb4",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 275.912,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.20422,
    "h": 307.5
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#7D2BB4
secondary
#95C773
accent
#E54384
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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