#7D2BCA#7D2BCA

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

Color values

HEX#7D2BCA
RGBrgb(125, 43, 202)
HSLhsl(271, 65%, 48%)
HSVhsv(271, 79%, 79%)
CMYKcmyk(38.1%, 78.7%, 0%, 20.8%)
CIE-LABlab(38.47, 62.52, -67.10)
CIE-LCHlch(38.47, 91.72, 312.98°)
OKLaboklab(49.81% 0.1188 -0.1916)
OKLCHoklch(49.81% 0.226 301.8)
XYZxyz(19.9794, 10.3519, 56.8112)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BCA #78CA2B
analogous
#2D2BCA #7D2BCA #CA2BC8
triadic
#7D2BCA #CA7D2B #2BCA7D
tetradic
#7D2BCA #CA2D2B #78CA2B #2BC8CA
square
#7D2BCA #CA2D2B #78CA2B #2BC8CA
split-complementary
#7D2BCA #C8CA2B #2BCA2D
monochromatic
#3F1665 #5E2098 #7D2BCA #9B57DB #B989E6

Accessibility & contrast

On white

6.84
#7D2BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7D2BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2BCA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BCA#FFFFFF#000000##FFFFFF
##7D2BCA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#6C567B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d2bca;
/* rgb */ color: rgb(125, 43, 202);
/* oklch */ color: oklch(49.8% 0.226 301.8);
Tailwind
colors: {
  custom: {
    50: '#aa6edb',
    500: '#7d2bca',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bca;
$custom-light: #aa6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bca",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 270.943,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.2255,
    "h": 301.8
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#7D2BCA
secondary
#A7D081
accent
#E84091
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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