#7D2FCA#7D2FCA

#7D2FCA is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.222 H 301.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7D2FCA
RGBrgb(125, 47, 202)
HSLhsl(270, 62%, 49%)
HSVhsv(270, 77%, 79%)
CMYKcmyk(38.1%, 76.7%, 0%, 20.8%)
CIE-LABlab(39.00, 60.99, -66.24)
CIE-LCHlch(39.00, 90.04, 312.64°)
OKLaboklab(50.18% 0.1157 -0.1891)
OKLCHoklch(50.18% 0.222 301.4)
XYZxyz(20.1320, 10.6572, 56.8621)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FCA #7CCA2F
analogous
#302FCA #7D2FCA #CA2FCA
triadic
#7D2FCA #CA7D2F #2FCA7D
tetradic
#7D2FCA #CA302F #7CCA2F #2FCACA
square
#7D2FCA #CA302F #7CCA2F #2FCACA
split-complementary
#7D2FCA #CACA2F #2FCA30
monochromatic
#401867 #5E2398 #7D2FCA #9C5DD9 #BA8FE5

Accessibility & contrast

On white

6.71
#7D2FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7D2FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2FCA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FCA#FFFFFF#000000##FFFFFF
##7D2FCA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#6C587C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d2fca;
/* rgb */ color: rgb(125, 47, 202);
/* oklch */ color: oklch(50.2% 0.222 301.4);
Tailwind
colors: {
  custom: {
    50: '#a970db',
    500: '#7d2fca',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fca;
$custom-light: #a970db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fca",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 270.194,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50178,
    "c": 0.2217,
    "h": 301.4
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#7D2FCA
secondary
#AACF86
accent
#E54293
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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