#7F2CC1#7F2CC1

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

Color values

HEX#7F2CC1
RGBrgb(127, 44, 193)
HSLhsl(273, 63%, 46%)
HSVhsv(273, 77%, 76%)
CMYKcmyk(34.2%, 77.2%, 0%, 24.3%)
CIE-LABlab(38.13, 60.43, -62.38)
CIE-LCHlch(38.13, 86.85, 314.09°)
OKLaboklab(49.41% 0.1232 -0.1777)
OKLCHoklch(49.41% 0.216 304.7)
XYZxyz(19.2765, 10.1637, 51.3880)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2CC1 #6EC12C
analogous
#352CC1 #7F2CC1 #C12CB9
triadic
#7F2CC1 #C17F2C #2CC17F
tetradic
#7F2CC1 #C1352C #6EC12C #2CB9C1
square
#7F2CC1 #C1352C #6EC12C #2CB9C1
split-complementary
#7F2CC1 #B9C12C #2CC135
monochromatic
#3D155D #5E218F #7F2CC1 #9D53D8 #B984E3

Accessibility & contrast

On white

6.92
#7F2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7F2CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2CC1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2CC1#FFFFFF#000000##FFFFFF
##7F2CC11.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#725376
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f2cc1;
/* rgb */ color: rgb(127, 44, 193);
/* oklch */ color: oklch(49.4% 0.216 304.7);
Tailwind
colors: {
  custom: {
    50: '#aa6fd5',
    500: '#7f2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #7f2cc1;
$custom-light: #aa6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2cc1",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 273.423,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49406,
    "c": 0.21624,
    "h": 304.7
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#7F2CC1
secondary
#A0CC7D
accent
#E6428B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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