#7D2CC9#7D2CC9

#7D2CC9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.224 H 302.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7D2CC9
RGBrgb(125, 44, 201)
HSLhsl(271, 64%, 48%)
HSVhsv(271, 78%, 79%)
CMYKcmyk(37.8%, 78.1%, 0%, 21.2%)
CIE-LABlab(38.51, 61.92, -66.44)
CIE-LCHlch(38.51, 90.82, 312.98°)
OKLaboklab(49.81% 0.1183 -0.1897)
OKLCHoklch(49.81% 0.224 302)
XYZxyz(19.8982, 10.3783, 56.2019)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CC9 #78C92C
analogous
#2E2CC9 #7D2CC9 #C92CC7
triadic
#7D2CC9 #C97D2C #2CC97D
tetradic
#7D2CC9 #C92E2C #78C92C #2CC7C9
square
#7D2CC9 #C92E2C #78C92C #2CC7C9
split-complementary
#7D2CC9 #C7C92C #2CC92E
monochromatic
#3F1665 #5E2197 #7D2CC9 #9B58DA #B98AE5

Accessibility & contrast

On white

6.83
#7D2CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7D2CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2CC9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CC9#FFFFFF#000000##FFFFFF
##7D2CC91.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#6C567A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d2cc9;
/* rgb */ color: rgb(125, 44, 201);
/* oklch */ color: oklch(49.8% 0.224 302.0);
Tailwind
colors: {
  custom: {
    50: '#a96fda',
    500: '#7d2cc9',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cc9;
$custom-light: #a96fda;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cc9",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 270.955,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.22361,
    "h": 302
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#7D2CC9
secondary
#A7CF82
accent
#E74191
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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