#7B1EAC#7B1EAC

#7B1EAC is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.0% C 0.209 H 309.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7B1EAC
RGBrgb(123, 30, 172)
HSLhsl(279, 70%, 40%)
HSVhsv(279, 83%, 67%)
CMYKcmyk(28.5%, 82.6%, 0%, 32.5%)
CIE-LABlab(34.23, 60.02, -56.33)
CIE-LCHlch(34.23, 82.31, 316.82°)
OKLaboklab(46.04% 0.1338 -0.16)
OKLCHoklch(46.04% 0.209 309.9)
XYZxyz(16.0776, 8.1184, 39.7418)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1EAC #4FAC1E
analogous
#341EAC #7B1EAC #AC1E96
triadic
#7B1EAC #AC7B1E #1EAC7B
tetradic
#7B1EAC #AC341E #4FAC1E #1E96AC
square
#7B1EAC #AC341E #4FAC1E #1E96AC
split-complementary
#7B1EAC #96AC1E #1EAC34
monochromatic
#300C44 #561578 #7B1EAC #9E2DDA #B661E3

Accessibility & contrast

On white

8.00
#7B1EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7B1EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1EAC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1EAC#FFFFFF#000000##FFFFFF
##7B1EAC1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#744467
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b1eac;
/* rgb */ color: rgb(123, 30, 172);
/* oklch */ color: oklch(46.0% 0.209 309.9);
Tailwind
colors: {
  custom: {
    50: '#a667c6',
    500: '#7b1eac',
    950: '#000000',
  },
}
SCSS
$custom: #7b1eac;
$custom-light: #a667c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1eac",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 172
  },
  "hsl": {
    "h": 279.296,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.20858,
    "h": 309.9
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#7B1EAC
secondary
#82C85E
accent
#ED3B78
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B1EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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