#7C2FB0#7C2FB0

#7C2FB0 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.196 H 307.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7C2FB0
RGBrgb(124, 47, 176)
HSLhsl(276, 58%, 44%)
HSVhsv(276, 73%, 69%)
CMYKcmyk(29.5%, 73.3%, 0%, 31%)
CIE-LABlab(36.84, 54.84, -54.47)
CIE-LCHlch(36.84, 77.29, 315.20°)
OKLaboklab(48% 0.1199 -0.1546)
OKLCHoklch(48% 0.196 307.8)
XYZxyz(17.1635, 9.4530, 41.9863)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2FB0 #63B02F
analogous
#3B2FB0 #7C2FB0 #B02FA3
triadic
#7C2FB0 #B07C2F #2FB07C
tetradic
#7C2FB0 #B03B2F #63B02F #2FA3B0
square
#7C2FB0 #B03B2F #63B02F #2FA3B0
split-complementary
#7C2FB0 #A3B02F #2FB03B
monochromatic
#38154F #5A2280 #7C2FB0 #9B4DCF #B67DDC

Accessibility & contrast

On white

7.26
#7C2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7C2FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2FB0
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2FB0#FFFFFF#000000##FFFFFF
##7C2FB01.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#744D6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c2fb0;
/* rgb */ color: rgb(124, 47, 176);
/* oklch */ color: oklch(48.0% 0.196 307.8);
Tailwind
colors: {
  custom: {
    50: '#a76fc8',
    500: '#7c2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #7c2fb0;
$custom-light: #a76fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2fb0",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 275.814,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.19561,
    "h": 307.8
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#7C2FB0
secondary
#96C576
accent
#E14785
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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