#7C2FC0#7C2FC0

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

Color values

HEX#7C2FC0
RGBrgb(124, 47, 192)
HSLhsl(272, 61%, 47%)
HSVhsv(272, 76%, 75%)
CMYKcmyk(35.4%, 75.5%, 0%, 24.7%)
CIE-LABlab(38.06, 58.50, -61.93)
CIE-LCHlch(38.06, 85.19, 313.37°)
OKLaboklab(49.25% 0.1167 -0.1765)
OKLCHoklch(49.25% 0.212 303.5)
XYZxyz(18.8409, 10.1239, 50.8205)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2FC0 #73C02F
analogous
#342FC0 #7C2FC0 #C02FBC
triadic
#7C2FC0 #C07C2F #2FC07C
tetradic
#7C2FC0 #C0342F #73C02F #2FBCC0
square
#7C2FC0 #C0342F #73C02F #2FBCC0
split-complementary
#7C2FC0 #BCC02F #2FC034
monochromatic
#3C175E #5C238F #7C2FC0 #9A56D6 #B788E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2FC0#FFFFFF#000000##FFFFFF
##7C2FC01.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)
#0058C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#6E5476
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c2fc0;
/* rgb */ color: rgb(124, 47, 192);
/* oklch */ color: oklch(49.2% 0.212 303.5);
Tailwind
colors: {
  custom: {
    50: '#a870d4',
    500: '#7c2fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7c2fc0;
$custom-light: #a870d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2fc0",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 271.862,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49246,
    "c": 0.21157,
    "h": 303.5
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#7C2FC0
secondary
#A3CB7F
accent
#E4448F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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