#7C1CB3#7C1CB3

#7C1CB3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.217 H 308.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7C1CB3
RGBrgb(124, 28, 179)
HSLhsl(278, 73%, 41%)
HSVhsv(278, 84%, 70%)
CMYKcmyk(30.7%, 84.4%, 0%, 29.8%)
CIE-LABlab(34.74, 62.23, -59.66)
CIE-LCHlch(34.74, 86.21, 316.21°)
OKLaboklab(46.6% 0.1346 -0.1697)
OKLCHoklch(46.6% 0.217 308.4)
XYZxyz(16.8624, 8.3706, 43.3665)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1CB3 #53B31C
analogous
#311CB3 #7C1CB3 #B31C9E
triadic
#7C1CB3 #B37C1C #1CB37C
tetradic
#7C1CB3 #B3311C #53B31C #1C9EB3
square
#7C1CB3 #B3311C #53B31C #1C9EB3
split-complementary
#7C1CB3 #9EB31C #1CB331
monochromatic
#330B49 #57147E #7C1CB3 #9E2EDE #B763E7

Accessibility & contrast

On white

7.85
#7C1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7C1CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1CB3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1CB3#FFFFFF#000000##FFFFFF
##7C1CB31.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#73466B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c1cb3;
/* rgb */ color: rgb(124, 28, 179);
/* oklch */ color: oklch(46.6% 0.217 308.4);
Tailwind
colors: {
  custom: {
    50: '#a867cb',
    500: '#7c1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #7c1cb3;
$custom-light: #a867cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1cb3",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 278.146,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46602,
    "c": 0.21663,
    "h": 308.4
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#7C1CB3
secondary
#87CB5F
accent
#F0387B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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