#7F2CC4#7F2CC4

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

Color values

HEX#7F2CC4
RGBrgb(127, 44, 196)
HSLhsl(273, 63%, 47%)
HSVhsv(273, 78%, 77%)
CMYKcmyk(35.2%, 77.6%, 0%, 23.1%)
CIE-LABlab(38.37, 61.10, -63.74)
CIE-LCHlch(38.37, 88.30, 313.79°)
OKLaboklab(49.65% 0.1225 -0.1817)
OKLCHoklch(49.65% 0.219 304)
XYZxyz(19.6146, 10.2990, 53.1684)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2CC4 #71C42C
analogous
#332CC4 #7F2CC4 #C42CBD
triadic
#7F2CC4 #C47F2C #2CC47F
tetradic
#7F2CC4 #C4332C #71C42C #2CBDC4
square
#7F2CC4 #C4332C #71C42C #2CBDC4
split-complementary
#7F2CC4 #BDC42C #2CC433
monochromatic
#3E1660 #5F2192 #7F2CC4 #9D54D9 #BA86E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2CC4#FFFFFF#000000##FFFFFF
##7F2CC41.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)
#0059C8
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#715478
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f2cc4;
/* rgb */ color: rgb(127, 44, 196);
/* oklch */ color: oklch(49.6% 0.219 304.0);
Tailwind
colors: {
  custom: {
    50: '#aa6fd7',
    500: '#7f2cc4',
    950: '#000000',
  },
}
SCSS
$custom: #7f2cc4;
$custom-light: #aa6fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2cc4",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 196
  },
  "hsl": {
    "h": 272.763,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49648,
    "c": 0.21913,
    "h": 304
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

primary
#7F2CC4
secondary
#A2CD7E
accent
#E6418C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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