#7D2CB7#7D2CB7

#7D2CB7 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.206 H 306.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7D2CB7
RGBrgb(125, 44, 183)
HSLhsl(275, 61%, 45%)
HSVhsv(275, 76%, 72%)
CMYKcmyk(31.7%, 76%, 0%, 28.2%)
CIE-LABlab(37.08, 57.83, -58.23)
CIE-LCHlch(37.08, 82.06, 314.81°)
OKLaboklab(48.36% 0.1227 -0.1656)
OKLCHoklch(48.36% 0.206 306.5)
XYZxyz(17.9035, 9.5804, 45.6966)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CB7 #66B72C
analogous
#382CB7 #7D2CB7 #B72CAC
triadic
#7D2CB7 #B77D2C #2CB77D
tetradic
#7D2CB7 #B7382C #66B72C #2CACB7
square
#7D2CB7 #B7382C #66B72C #2CACB7
split-complementary
#7D2CB7 #ACB72C #2CB738
monochromatic
#3A1454 #5B2086 #7D2CB7 #9B4CD4 #B77EE0

Accessibility & contrast

On white

7.20
#7D2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7D2CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CB7
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CB7#FFFFFF#000000##FFFFFF
##7D2CB71.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#734F70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2cb7;
/* rgb */ color: rgb(125, 44, 183);
/* oklch */ color: oklch(48.4% 0.206 306.5);
Tailwind
colors: {
  custom: {
    50: '#a86ecd',
    500: '#7d2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cb7;
$custom-light: #a86ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cb7",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 274.964,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48363,
    "c": 0.20608,
    "h": 306.5
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#7D2CB7
secondary
#99C876
accent
#E44387
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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