#7C1AB3#7C1AB3

#7C1AB3 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.5% C 0.218 H 308.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7C1AB3
RGBrgb(124, 26, 179)
HSLhsl(278, 75%, 40%)
HSVhsv(278, 85%, 70%)
CMYKcmyk(30.7%, 85.5%, 0%, 29.8%)
CIE-LABlab(34.56, 62.78, -59.97)
CIE-LCHlch(34.56, 86.82, 316.31°)
OKLaboklab(46.47% 0.1359 -0.1706)
OKLCHoklch(46.47% 0.218 308.5)
XYZxyz(16.8166, 8.2788, 43.3512)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1AB3 #51B31A
analogous
#2F1AB3 #7C1AB3 #B31A9E
triadic
#7C1AB3 #B37C1A #1AB37C
tetradic
#7C1AB3 #B32F1A #51B31A #1A9EB3
square
#7C1AB3 #B32F1A #51B31A #1A9EB3
split-complementary
#7C1AB3 #9EB31A #1AB32F
monochromatic
#320A48 #57127E #7C1AB3 #9F2AE0 #B760E8

Accessibility & contrast

On white

7.91
#7C1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7C1AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1AB3
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1AB3#FFFFFF#000000##FFFFFF
##7C1AB31.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#73456A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c1ab3;
/* rgb */ color: rgb(124, 26, 179);
/* oklch */ color: oklch(46.5% 0.218 308.5);
Tailwind
colors: {
  custom: {
    50: '#a866cb',
    500: '#7c1ab3',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ab3;
$custom-light: #a866cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ab3",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 278.431,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46473,
    "c": 0.21809,
    "h": 308.5
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#7C1AB3
secondary
#85CC5D
accent
#F1377A
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C1AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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