#7D2CB5#7D2CB5

#7D2CB5 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.204 H 307.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7D2CB5
RGBrgb(125, 44, 181)
HSLhsl(275, 61%, 44%)
HSVhsv(275, 76%, 71%)
CMYKcmyk(30.9%, 75.7%, 0%, 29%)
CIE-LABlab(36.93, 57.38, -57.29)
CIE-LCHlch(36.93, 81.09, 315.05°)
OKLaboklab(48.21% 0.1231 -0.1628)
OKLCHoklch(48.21% 0.204 307.1)
XYZxyz(17.6968, 9.4978, 44.6081)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CB5 #64B52C
analogous
#382CB5 #7D2CB5 #B52CA9
triadic
#7D2CB5 #B57D2C #2CB57D
tetradic
#7D2CB5 #B5382C #64B52C #2CA9B5
square
#7D2CB5 #B5382C #64B52C #2CA9B5
split-complementary
#7D2CB5 #A9B52C #2CB538
monochromatic
#391453 #5B2084 #7D2CB5 #9C4BD3 #B77CDF

Accessibility & contrast

On white

7.24
#7D2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7D2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CB5
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CB5#FFFFFF#000000##FFFFFF
##7D2CB51.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#734E6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2cb5;
/* rgb */ color: rgb(125, 44, 181);
/* oklch */ color: oklch(48.2% 0.204 307.1);
Tailwind
colors: {
  custom: {
    50: '#a86ecc',
    500: '#7d2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cb5;
$custom-light: #a86ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cb5",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 275.474,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48207,
    "c": 0.20413,
    "h": 307.1
  },
  "luminance": 0.09498
}

Semantic roles & 50–950 ramp

primary
#7D2CB5
secondary
#97C875
accent
#E44485
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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