#7D2CB3#7D2CB3

#7D2CB3 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.202 H 307.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7D2CB3
RGBrgb(125, 44, 179)
HSLhsl(276, 61%, 44%)
HSVhsv(276, 75%, 70%)
CMYKcmyk(30.2%, 75.4%, 0%, 29.8%)
CIE-LABlab(36.77, 56.94, -56.35)
CIE-LCHlch(36.77, 80.11, 315.30°)
OKLaboklab(48.05% 0.1235 -0.1601)
OKLCHoklch(48.05% 0.202 307.7)
XYZxyz(17.4931, 9.4163, 43.5351)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CB3 #62B32C
analogous
#392CB3 #7D2CB3 #B32CA5
triadic
#7D2CB3 #B37D2C #2CB37D
tetradic
#7D2CB3 #B3392C #62B32C #2CA5B3
square
#7D2CB3 #B3392C #62B32C #2CA5B3
split-complementary
#7D2CB3 #A5B32C #2CB339
monochromatic
#381451 #5B2082 #7D2CB3 #9C4AD2 #B77BDF

Accessibility & contrast

On white

7.28
#7D2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2CB3
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CB3#FFFFFF#000000##FFFFFF
##7D2CB31.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2cb3;
/* rgb */ color: rgb(125, 44, 179);
/* oklch */ color: oklch(48.1% 0.202 307.7);
Tailwind
colors: {
  custom: {
    50: '#a86ecb',
    500: '#7d2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cb3;
$custom-light: #a86ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cb3",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 276,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.20218,
    "h": 307.7
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#7D2CB3
secondary
#95C774
accent
#E44484
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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