#7D2BCE#7D2BCE

#7D2BCE is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.1% C 0.229 H 300.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7D2BCE
RGBrgb(125, 43, 206)
HSLhsl(270, 65%, 49%)
HSVhsv(270, 79%, 81%)
CMYKcmyk(39.3%, 79.1%, 0%, 19.2%)
CIE-LABlab(38.80, 63.44, -68.88)
CIE-LCHlch(38.80, 93.64, 312.65°)
OKLaboklab(50.14% 0.1177 -0.1969)
OKLCHoklch(50.14% 0.229 300.9)
XYZxyz(20.4591, 10.5438, 59.3378)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BCE #7CCE2B
analogous
#2C2BCE #7D2BCE #CE2BCE
triadic
#7D2BCE #CE7D2B #2BCE7D
tetradic
#7D2BCE #CE2C2B #7CCE2B #2BCECE
square
#7D2BCE #CE2C2B #7CCE2B #2BCECE
split-complementary
#7D2BCE #CECE2B #2BCE2C
monochromatic
#401669 #5E209B #7D2BCE #9C5ADC #BA8CE7

Accessibility & contrast

On white

6.76
#7D2BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7D2BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2BCE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BCE#FFFFFF#000000##FFFFFF
##7D2BCE1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#6A587D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d2bce;
/* rgb */ color: rgb(125, 43, 206);
/* oklch */ color: oklch(50.1% 0.229 300.9);
Tailwind
colors: {
  custom: {
    50: '#aa6fde',
    500: '#7d2bce',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bce;
$custom-light: #aa6fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bce",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 206
  },
  "hsl": {
    "h": 270.184,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.22938,
    "h": 300.9
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#7D2BCE
secondary
#AAD184
accent
#E83F93
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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