#7D2CB9#7D2CB9

#7D2CB9 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.208 H 306.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7D2CB9
RGBrgb(125, 44, 185)
HSLhsl(274, 62%, 45%)
HSVhsv(274, 76%, 73%)
CMYKcmyk(32.4%, 76.2%, 0%, 27.5%)
CIE-LABlab(37.23, 58.28, -59.16)
CIE-LCHlch(37.23, 83.04, 314.57°)
OKLaboklab(48.52% 0.1223 -0.1683)
OKLCHoklch(48.52% 0.208 306)
XYZxyz(18.1131, 9.6643, 46.8007)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CB9 #68B92C
analogous
#362CB9 #7D2CB9 #B92CAF
triadic
#7D2CB9 #B97D2C #2CB97D
tetradic
#7D2CB9 #B9362C #68B92C #2CAFB9
square
#7D2CB9 #B9362C #68B92C #2CAFB9
split-complementary
#7D2CB9 #AFB92C #2CB936
monochromatic
#3A1456 #5C2088 #7D2CB9 #9B4DD5 #B77FE1

Accessibility & contrast

On white

7.16
#7D2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7D2CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CB9
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CB9#FFFFFF#000000##FFFFFF
##7D2CB91.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#724F71
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d2cb9;
/* rgb */ color: rgb(125, 44, 185);
/* oklch */ color: oklch(48.5% 0.208 306.0);
Tailwind
colors: {
  custom: {
    50: '#a86ecf',
    500: '#7d2cb9',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cb9;
$custom-light: #a86ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cb9",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 274.468,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.20802,
    "h": 306
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#7D2CB9
secondary
#9AC978
accent
#E54388
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D2CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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