#7D2BC8#7D2BC8

#7D2BC8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.224 H 302.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7D2BC8
RGBrgb(125, 43, 200)
HSLhsl(271, 65%, 48%)
HSVhsv(271, 79%, 78%)
CMYKcmyk(37.5%, 78.5%, 0%, 21.6%)
CIE-LABlab(38.30, 62.06, -66.21)
CIE-LCHlch(38.30, 90.75, 313.15°)
OKLaboklab(49.64% 0.1194 -0.189)
OKLCHoklch(49.64% 0.224 302.3)
XYZxyz(19.7441, 10.2578, 55.5721)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BC8 #76C82B
analogous
#2F2BC8 #7D2BC8 #C82BC4
triadic
#7D2BC8 #C87D2B #2BC87D
tetradic
#7D2BC8 #C82F2B #76C82B #2BC4C8
square
#7D2BC8 #C82F2B #76C82B #2BC4C8
split-complementary
#7D2BC8 #C4C82B #2BC82F
monochromatic
#3E1563 #5E2096 #7D2BC8 #9B56DB #B988E5

Accessibility & contrast

On white

6.88
#7D2BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7D2BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2BC8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BC8#FFFFFF#000000##FFFFFF
##7D2BC81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#6D557A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d2bc8;
/* rgb */ color: rgb(125, 43, 200);
/* oklch */ color: oklch(49.6% 0.224 302.3);
Tailwind
colors: {
  custom: {
    50: '#a96eda',
    500: '#7d2bc8',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bc8;
$custom-light: #a96eda;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bc8",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 200
  },
  "hsl": {
    "h": 271.338,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.22357,
    "h": 302.3
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#7D2BC8
secondary
#A6CF80
accent
#E84090
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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