#7D2CB1#7D2CB1

#7D2CB1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.200 H 308.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7D2CB1
RGBrgb(125, 44, 177)
HSLhsl(277, 60%, 43%)
HSVhsv(277, 75%, 69%)
CMYKcmyk(29.4%, 75.1%, 0%, 30.6%)
CIE-LABlab(36.62, 56.49, -55.41)
CIE-LCHlch(36.62, 79.13, 315.56°)
OKLaboklab(47.9% 0.1239 -0.1573)
OKLCHoklch(47.9% 0.2 308.2)
XYZxyz(17.2923, 9.3359, 42.4775)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2CB1 #60B12C
analogous
#3A2CB1 #7D2CB1 #B12CA2
triadic
#7D2CB1 #B17D2C #2CB17D
tetradic
#7D2CB1 #B13A2C #60B12C #2CA2B1
square
#7D2CB1 #B13A2C #60B12C #2CA2B1
split-complementary
#7D2CB1 #A2B12C #2CB13A
monochromatic
#38144F #5A2080 #7D2CB1 #9C49D2 #B77ADE

Accessibility & contrast

On white

7.32
#7D2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7D2CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2CB1
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2CB1#FFFFFF#000000##FFFFFF
##7D2CB11.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#754C6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2cb1;
/* rgb */ color: rgb(125, 44, 177);
/* oklch */ color: oklch(47.9% 0.200 308.2);
Tailwind
colors: {
  custom: {
    50: '#a86ec9',
    500: '#7d2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #7d2cb1;
$custom-light: #a86ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2cb1",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 276.541,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47899,
    "c": 0.20024,
    "h": 308.2
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#7D2CB1
secondary
#93C673
accent
#E34483
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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