#7D2CB0#7D2CB0

#7D2CB0 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.199 H 308.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7D2CB0
RGBrgb(125, 44, 176)
HSLhsl(277, 60%, 43%)
HSVhsv(277, 75%, 69%)
CMYKcmyk(29%, 75%, 0%, 31%)
CIE-LABlab(36.55, 56.27, -54.93)
CIE-LCHlch(36.55, 78.64, 315.69°)
OKLaboklab(47.82% 0.1241 -0.1559)
OKLCHoklch(47.82% 0.199 308.5)
XYZxyz(17.1930, 9.2962, 41.9545)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CB0 #5FB02C
analogous
#3B2CB0 #7D2CB0 #B02CA1
triadic
#7D2CB0 #B07D2C #2CB07D
tetradic
#7D2CB0 #B03B2C #5FB02C #2CA1B0
square
#7D2CB0 #B03B2C #5FB02C #2CA1B0
split-complementary
#7D2CB0 #A1B02C #2CB03B
monochromatic
#37144E #5A207F #7D2CB0 #9C48D1 #B779DD

Accessibility & contrast

On white

7.34
#7D2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7D2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CB0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CB0#FFFFFF#000000##FFFFFF
##7D2CB01.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#754C6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2cb0;
/* rgb */ color: rgb(125, 44, 176);
/* oklch */ color: oklch(47.8% 0.199 308.5);
Tailwind
colors: {
  custom: {
    50: '#a76dc8',
    500: '#7d2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cb0;
$custom-light: #a76dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cb0",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 276.818,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47823,
    "c": 0.19926,
    "h": 308.5
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#7D2CB0
secondary
#92C672
accent
#E34582
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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