#7F2CC5#7F2CC5

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

Color values

HEX#7F2CC5
RGBrgb(127, 44, 197)
HSLhsl(273, 63%, 47%)
HSVhsv(273, 78%, 77%)
CMYKcmyk(35.5%, 77.7%, 0%, 22.7%)
CIE-LABlab(38.45, 61.33, -64.20)
CIE-LCHlch(38.45, 88.78, 313.69°)
OKLaboklab(49.73% 0.1222 -0.1831)
OKLCHoklch(49.73% 0.22 303.7)
XYZxyz(19.7288, 10.3446, 53.7698)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2CC5 #72C52C
analogous
#332CC5 #7F2CC5 #C52CBE
triadic
#7F2CC5 #C57F2C #2CC57F
tetradic
#7F2CC5 #C5332C #72C52C #2CBEC5
square
#7F2CC5 #C5332C #72C52C #2CBEC5
split-complementary
#7F2CC5 #BEC52C #2CC533
monochromatic
#3E1661 #5F2193 #7F2CC5 #9D55D9 #BA87E4

Accessibility & contrast

On white

6.84
#7F2CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7F2CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2CC5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2CC5#FFFFFF#000000##FFFFFF
##7F2CC51.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#715478
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f2cc5;
/* rgb */ color: rgb(127, 44, 197);
/* oklch */ color: oklch(49.7% 0.220 303.7);
Tailwind
colors: {
  custom: {
    50: '#aa6fd8',
    500: '#7f2cc5',
    950: '#000000',
  },
}
SCSS
$custom: #7f2cc5;
$custom-light: #aa6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2cc5",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 272.549,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.2201,
    "h": 303.7
  },
  "luminance": 0.10345
}

Semantic roles & 50–950 ramp

primary
#7F2CC5
secondary
#A3CE7F
accent
#E7418D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7F2CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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