#7C2FC9#7C2FC9

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

Color values

HEX#7C2FC9
RGBrgb(124, 47, 201)
HSLhsl(270, 62%, 49%)
HSVhsv(270, 77%, 79%)
CMYKcmyk(38.3%, 76.6%, 0%, 21.2%)
CIE-LABlab(38.79, 60.60, -66.00)
CIE-LCHlch(38.79, 89.60, 312.55°)
OKLaboklab(49.98% 0.1145 -0.1885)
OKLCHoklch(49.98% 0.221 301.3)
XYZxyz(19.8687, 10.5350, 56.2337)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2FC9 #7CC92F
analogous
#2F2FC9 #7C2FC9 #C92FC9
triadic
#7C2FC9 #C97C2F #2FC97C
tetradic
#7C2FC9 #C92F2F #7CC92F #2FC9C9
square
#7C2FC9 #C92F2F #7CC92F #2FC9C9
split-complementary
#7C2FC9 #C9C92F #2FC92F
monochromatic
#3F1866 #5D2397 #7C2FC9 #9B5CD9 #B98EE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2FC9#FFFFFF#000000##FFFFFF
##7C2FC91.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)
#005AC6
Tritanopia (blue-blind)
#6B587B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c2fc9;
/* rgb */ color: rgb(124, 47, 201);
/* oklch */ color: oklch(50.0% 0.221 301.3);
Tailwind
colors: {
  custom: {
    50: '#a970da',
    500: '#7c2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #7c2fc9;
$custom-light: #a970da;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2fc9",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 270,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.22054,
    "h": 301.3
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#7C2FC9
secondary
#AACF85
accent
#E54394
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7C2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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