#7D2FC5#7D2FC5

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

Color values

HEX#7D2FC5
RGBrgb(125, 47, 197)
HSLhsl(271, 61%, 48%)
HSVhsv(271, 76%, 77%)
CMYKcmyk(36.5%, 76.1%, 0%, 22.7%)
CIE-LABlab(38.59, 59.83, -63.98)
CIE-LCHlch(38.59, 87.60, 313.08°)
OKLaboklab(49.77% 0.1169 -0.1825)
OKLCHoklch(49.77% 0.217 302.6)
XYZxyz(19.5496, 10.4242, 53.7946)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FC5 #77C52F
analogous
#322FC5 #7D2FC5 #C52FC2
triadic
#7D2FC5 #C57D2F #2FC57D
tetradic
#7D2FC5 #C5322F #77C52F #2FC2C5
square
#7D2FC5 #C5322F #77C52F #2FC2C5
split-complementary
#7D2FC5 #C2C52F #2FC532
monochromatic
#3E1762 #5E2394 #7D2FC5 #9B5AD8 #B98BE3

Accessibility & contrast

On white

6.81
#7D2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7D2FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2FC5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FC5#FFFFFF#000000##FFFFFF
##7D2FC51.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#6E5679
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d2fc5;
/* rgb */ color: rgb(125, 47, 197);
/* oklch */ color: oklch(49.8% 0.217 302.6);
Tailwind
colors: {
  custom: {
    50: '#a970d8',
    500: '#7d2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fc5;
$custom-light: #a970d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fc5",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 271.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49769,
    "c": 0.21674,
    "h": 302.6
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#7D2FC5
secondary
#A6CD82
accent
#E54391
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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