#7D2BC9#7D2BC9

#7D2BC9 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.7% C 0.225 H 302.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7D2BC9
RGBrgb(125, 43, 201)
HSLhsl(271, 65%, 48%)
HSVhsv(271, 79%, 79%)
CMYKcmyk(37.8%, 78.6%, 0%, 21.2%)
CIE-LABlab(38.38, 62.29, -66.66)
CIE-LCHlch(38.38, 91.23, 313.06°)
OKLaboklab(49.72% 0.1191 -0.1903)
OKLCHoklch(49.72% 0.225 302)
XYZxyz(19.8614, 10.3047, 56.1896)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BC9 #77C92B
analogous
#2E2BC9 #7D2BC9 #C92BC6
triadic
#7D2BC9 #C97D2B #2BC97D
tetradic
#7D2BC9 #C92E2B #77C92B #2BC6C9
square
#7D2BC9 #C92E2B #77C92B #2BC6C9
split-complementary
#7D2BC9 #C6C92B #2BC92E
monochromatic
#3E1564 #5E2097 #7D2BC9 #9B56DB #B989E6

Accessibility & contrast

On white

6.86
#7D2BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7D2BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2BC9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BC9#FFFFFF#000000##FFFFFF
##7D2BC91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#6C567A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d2bc9;
/* rgb */ color: rgb(125, 43, 201);
/* oklch */ color: oklch(49.7% 0.225 302.0);
Tailwind
colors: {
  custom: {
    50: '#aa6edb',
    500: '#7d2bc9',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bc9;
$custom-light: #aa6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bc9",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 201
  },
  "hsl": {
    "h": 271.139,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.22454,
    "h": 302
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D2BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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