#7F2CC0#7F2CC0

#7F2CC0 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.215 H 305.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7F2CC0
RGBrgb(127, 44, 192)
HSLhsl(274, 63%, 46%)
HSVhsv(274, 77%, 75%)
CMYKcmyk(33.9%, 77.1%, 0%, 24.7%)
CIE-LABlab(38.06, 60.20, -61.92)
CIE-LCHlch(38.06, 86.36, 314.19°)
OKLaboklab(49.33% 0.1234 -0.1764)
OKLCHoklch(49.33% 0.215 305)
XYZxyz(19.1653, 10.1193, 50.8025)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2CC0 #6DC02C
analogous
#352CC0 #7F2CC0 #C02CB7
triadic
#7F2CC0 #C07F2C #2CC07F
tetradic
#7F2CC0 #C0352C #6DC02C #2CB7C0
square
#7F2CC0 #C0352C #6DC02C #2CB7C0
split-complementary
#7F2CC0 #B7C02C #2CC035
monochromatic
#3D155C #5E218E #7F2CC0 #9D52D7 #B984E3

Accessibility & contrast

On white

6.94
#7F2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7F2CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2CC0
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2CC0#FFFFFF#000000##FFFFFF
##7F2CC01.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#735275
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f2cc0;
/* rgb */ color: rgb(127, 44, 192);
/* oklch */ color: oklch(49.3% 0.215 305.0);
Tailwind
colors: {
  custom: {
    50: '#aa6ed4',
    500: '#7f2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #7f2cc0;
$custom-light: #aa6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2cc0",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 273.649,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.21527,
    "h": 305
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#7F2CC0
secondary
#9FCC7C
accent
#E6428A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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