#7D2CB2#7D2CB2

#7D2CB2 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.201 H 307.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7D2CB2
RGBrgb(125, 44, 178)
HSLhsl(276, 60%, 44%)
HSVhsv(276, 75%, 70%)
CMYKcmyk(29.8%, 75.3%, 0%, 30.2%)
CIE-LABlab(36.70, 56.72, -55.88)
CIE-LCHlch(36.70, 79.62, 315.42°)
OKLaboklab(47.98% 0.1237 -0.1587)
OKLCHoklch(47.98% 0.201 307.9)
XYZxyz(17.3923, 9.3760, 43.0044)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CB2 #61B22C
analogous
#3A2CB2 #7D2CB2 #B22CA4
triadic
#7D2CB2 #B27D2C #2CB27D
tetradic
#7D2CB2 #B23A2C #61B22C #2CA4B2
square
#7D2CB2 #B23A2C #61B22C #2CA4B2
split-complementary
#7D2CB2 #A4B22C #2CB23A
monochromatic
#381450 #5B2081 #7D2CB2 #9C49D2 #B77ADE

Accessibility & contrast

On white

7.30
#7D2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7D2CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CB2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CB2#FFFFFF#000000##FFFFFF
##7D2CB21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#744C6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2cb2;
/* rgb */ color: rgb(125, 44, 178);
/* oklch */ color: oklch(48.0% 0.201 307.9);
Tailwind
colors: {
  custom: {
    50: '#a86eca',
    500: '#7d2cb2',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cb2;
$custom-light: #a86eca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cb2",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 276.269,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.20121,
    "h": 307.9
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#7D2CB2
secondary
#94C673
accent
#E44483
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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