#7C1CB4#7C1CB4

#7C1CB4 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.7% C 0.218 H 308.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7C1CB4
RGBrgb(124, 28, 180)
HSLhsl(278, 73%, 41%)
HSVhsv(278, 84%, 71%)
CMYKcmyk(31.1%, 84.4%, 0%, 29.4%)
CIE-LABlab(34.83, 62.44, -60.12)
CIE-LCHlch(34.83, 86.68, 316.08°)
OKLaboklab(46.68% 0.1343 -0.1711)
OKLCHoklch(46.68% 0.218 308.1)
XYZxyz(16.9639, 8.4112, 43.9010)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1CB4 #54B41C
analogous
#301CB4 #7C1CB4 #B41CA0
triadic
#7C1CB4 #B47C1C #1CB47C
tetradic
#7C1CB4 #B4301C #54B41C #1CA0B4
square
#7C1CB4 #B4301C #54B41C #1CA0B4
split-complementary
#7C1CB4 #A0B41C #1CB430
monochromatic
#330C4A #58147F #7C1CB4 #9E2FDF #B664E7

Accessibility & contrast

On white

7.83
#7C1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7C1CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1CB4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1CB4#FFFFFF#000000##FFFFFF
##7C1CB41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#73476B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c1cb4;
/* rgb */ color: rgb(124, 28, 180);
/* oklch */ color: oklch(46.7% 0.218 308.1);
Tailwind
colors: {
  custom: {
    50: '#a867cb',
    500: '#7c1cb4',
    950: '#000000',
  },
}
SCSS
$custom: #7c1cb4;
$custom-light: #a867cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1cb4",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 277.895,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46684,
    "c": 0.21752,
    "h": 308.1
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#7C1CB4
secondary
#88CC60
accent
#F0387C
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C1CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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