#7D2CB4#7D2CB4

#7D2CB4 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.203 H 307.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7D2CB4
RGBrgb(125, 44, 180)
HSLhsl(276, 61%, 44%)
HSVhsv(276, 76%, 71%)
CMYKcmyk(30.6%, 75.6%, 0%, 29.4%)
CIE-LABlab(36.85, 57.16, -56.82)
CIE-LCHlch(36.85, 80.60, 315.17°)
OKLaboklab(48.13% 0.1233 -0.1614)
OKLCHoklch(48.13% 0.203 307.4)
XYZxyz(17.5946, 9.4569, 44.0696)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CB4 #63B42C
analogous
#392CB4 #7D2CB4 #B42CA7
triadic
#7D2CB4 #B47D2C #2CB47D
tetradic
#7D2CB4 #B4392C #63B42C #2CA7B4
square
#7D2CB4 #B4392C #63B42C #2CA7B4
split-complementary
#7D2CB4 #A7B42C #2CB439
monochromatic
#391452 #5B2083 #7D2CB4 #9C4AD3 #B77CDF

Accessibility & contrast

On white

7.26
#7D2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7D2CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CB4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CB4#FFFFFF#000000##FFFFFF
##7D2CB41.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2cb4;
/* rgb */ color: rgb(125, 44, 180);
/* oklch */ color: oklch(48.1% 0.203 307.4);
Tailwind
colors: {
  custom: {
    50: '#a86ecb',
    500: '#7d2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cb4;
$custom-light: #a86ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cb4",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 275.735,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4813,
    "c": 0.20315,
    "h": 307.4
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#7D2CB4
secondary
#96C775
accent
#E44485
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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