#7C26AA#7C26AA

#7C26AA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.200 H 310.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7C26AA
RGBrgb(124, 38, 170)
HSLhsl(279, 63%, 41%)
HSVhsv(279, 78%, 67%)
CMYKcmyk(27.1%, 77.6%, 0%, 33.3%)
CIE-LABlab(35.15, 57.08, -53.63)
CIE-LCHlch(35.15, 78.32, 316.79°)
OKLaboklab(46.67% 0.1293 -0.1521)
OKLCHoklch(46.67% 0.2 310.4)
XYZxyz(16.2596, 8.5740, 38.8208)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26AA #54AA26
analogous
#3A26AA #7C26AA #AA2696
triadic
#7C26AA #AA7C26 #26AA7C
tetradic
#7C26AA #AA3A26 #54AA26 #2696AA
square
#7C26AA #AA3A26 #54AA26 #2696AA
split-complementary
#7C26AA #96AA26 #26AA3A
monochromatic
#331046 #581B78 #7C26AA #9E3AD3 #B66CDE

Accessibility & contrast

On white

7.74
#7C26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7C26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C26AA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C26AA#FFFFFF#000000##FFFFFF
##7C26AA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#764667
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c26aa;
/* rgb */ color: rgb(124, 38, 170);
/* oklch */ color: oklch(46.7% 0.200 310.4);
Tailwind
colors: {
  custom: {
    50: '#a76ac4',
    500: '#7c26aa',
    950: '#000000',
  },
}
SCSS
$custom: #7c26aa;
$custom-light: #a76ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26aa",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 279.091,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46667,
    "c": 0.19962,
    "h": 310.4
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#7C26AA
secondary
#88C567
accent
#E6417B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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