#7D2CB8#7D2CB8

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

Color values

HEX#7D2CB8
RGBrgb(125, 44, 184)
HSLhsl(275, 61%, 45%)
HSVhsv(275, 76%, 72%)
CMYKcmyk(32.1%, 76.1%, 0%, 27.8%)
CIE-LABlab(37.16, 58.06, -58.69)
CIE-LCHlch(37.16, 82.55, 314.69°)
OKLaboklab(48.44% 0.1225 -0.1669)
OKLCHoklch(48.44% 0.207 306.3)
XYZxyz(18.0080, 9.6222, 46.2467)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CB8 #67B82C
analogous
#372CB8 #7D2CB8 #B82CAD
triadic
#7D2CB8 #B87D2C #2CB87D
tetradic
#7D2CB8 #B8372C #67B82C #2CADB8
square
#7D2CB8 #B8372C #67B82C #2CADB8
split-complementary
#7D2CB8 #ADB82C #2CB837
monochromatic
#3A1455 #5B2087 #7D2CB8 #9B4DD4 #B77EE0

Accessibility & contrast

On white

7.18
#7D2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2CB8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CB8#FFFFFF#000000##FFFFFF
##7D2CB81.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#734F71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2cb8;
/* rgb */ color: rgb(125, 44, 184);
/* oklch */ color: oklch(48.4% 0.207 306.3);
Tailwind
colors: {
  custom: {
    50: '#a86ece',
    500: '#7d2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cb8;
$custom-light: #a86ece;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cb8",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 274.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48441,
    "c": 0.20705,
    "h": 306.3
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#7D2CB8
secondary
#99C977
accent
#E54387
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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