#7C1BB3#7C1BB3

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

Color values

HEX#7C1BB3
RGBrgb(124, 27, 179)
HSLhsl(278, 74%, 40%)
HSVhsv(278, 85%, 70%)
CMYKcmyk(30.7%, 84.9%, 0%, 29.8%)
CIE-LABlab(34.65, 62.51, -59.82)
CIE-LCHlch(34.65, 86.52, 316.26°)
OKLaboklab(46.54% 0.1353 -0.1702)
OKLCHoklch(46.54% 0.217 308.5)
XYZxyz(16.8391, 8.3239, 43.3587)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1BB3 #52B31B
analogous
#301BB3 #7C1BB3 #B31B9E
triadic
#7C1BB3 #B37C1B #1BB37C
tetradic
#7C1BB3 #B3301B #52B31B #1B9EB3
square
#7C1BB3 #B3301B #52B31B #1B9EB3
split-complementary
#7C1BB3 #9EB31B #1BB330
monochromatic
#320B49 #57137E #7C1BB3 #9E2CDF #B761E7

Accessibility & contrast

On white

7.88
#7C1BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1BB3
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1BB3#FFFFFF#000000##FFFFFF
##7C1BB31.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1bb3;
/* rgb */ color: rgb(124, 27, 179);
/* oklch */ color: oklch(46.5% 0.217 308.5);
Tailwind
colors: {
  custom: {
    50: '#a867cb',
    500: '#7c1bb3',
    950: '#000000',
  },
}
SCSS
$custom: #7c1bb3;
$custom-light: #a867cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1bb3",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 278.289,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46537,
    "c": 0.21737,
    "h": 308.5
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#7C1BB3
secondary
#86CC5E
accent
#F0377A
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C1BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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