#7D2FC0#7D2FC0

#7D2FC0 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.212 H 303.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7D2FC0
RGBrgb(125, 47, 192)
HSLhsl(272, 61%, 47%)
HSVhsv(272, 76%, 75%)
CMYKcmyk(34.9%, 75.5%, 0%, 24.7%)
CIE-LABlab(38.20, 58.68, -61.70)
CIE-LCHlch(38.20, 85.15, 313.56°)
OKLaboklab(49.37% 0.1181 -0.1758)
OKLCHoklch(49.37% 0.212 303.9)
XYZxyz(18.9862, 10.1988, 50.8273)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FC0 #72C02F
analogous
#352FC0 #7D2FC0 #C02FBB
triadic
#7D2FC0 #C07D2F #2FC07D
tetradic
#7D2FC0 #C0352F #72C02F #2FBBC0
square
#7D2FC0 #C0352F #72C02F #2FBBC0
split-complementary
#7D2FC0 #BBC02F #2FC035
monochromatic
#3D175E #5D238F #7D2FC0 #9B56D6 #B888E2

Accessibility & contrast

On white

6.91
#7D2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7D2FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2FC0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FC0#FFFFFF#000000##FFFFFF
##7D2FC01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#705476
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d2fc0;
/* rgb */ color: rgb(125, 47, 192);
/* oklch */ color: oklch(49.4% 0.212 303.9);
Tailwind
colors: {
  custom: {
    50: '#a970d4',
    500: '#7d2fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fc0;
$custom-light: #a970d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fc0",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 272.276,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.21177,
    "h": 303.9
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#7D2FC0
secondary
#A3CB7F
accent
#E4448E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D2FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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