#7F2CC9#7F2CC9

#7F2CC9 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.1% C 0.224 H 302.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7F2CC9
RGBrgb(127, 44, 201)
HSLhsl(272, 64%, 48%)
HSVhsv(272, 78%, 79%)
CMYKcmyk(36.8%, 78.1%, 0%, 21.2%)
CIE-LABlab(38.78, 62.24, -66.00)
CIE-LCHlch(38.78, 90.72, 313.32°)
OKLaboklab(50.06% 0.1212 -0.1884)
OKLCHoklch(50.06% 0.224 302.8)
XYZxyz(20.1932, 10.5304, 56.2157)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2CC9 #76C92C
analogous
#312CC9 #7F2CC9 #C92CC4
triadic
#7F2CC9 #C97F2C #2CC97F
tetradic
#7F2CC9 #C9312C #76C92C #2CC4C9
square
#7F2CC9 #C9312C #76C92C #2CC4C9
split-complementary
#7F2CC9 #C4C92C #2CC931
monochromatic
#401665 #5F2197 #7F2CC9 #9D58DA #BA8AE5

Accessibility & contrast

On white

6.76
#7F2CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7F2CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2CC9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2CC9#FFFFFF#000000##FFFFFF
##7F2CC91.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#6F567A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f2cc9;
/* rgb */ color: rgb(127, 44, 201);
/* oklch */ color: oklch(50.1% 0.224 302.8);
Tailwind
colors: {
  custom: {
    50: '#ab6fda',
    500: '#7f2cc9',
    950: '#000000',
  },
}
SCSS
$custom: #7f2cc9;
$custom-light: #ab6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2cc9",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 271.72,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.22397,
    "h": 302.8
  },
  "luminance": 0.1053
}

Semantic roles & 50–950 ramp

primary
#7F2CC9
secondary
#A6CF82
accent
#E7418F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F2CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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