#7C26A3#7C26A3

#7C26A3 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.193 H 312.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7C26A3
RGBrgb(124, 38, 163)
HSLhsl(281, 62%, 39%)
HSVhsv(281, 77%, 64%)
CMYKcmyk(23.9%, 76.7%, 0%, 36.1%)
CIE-LABlab(34.63, 55.60, -50.26)
CIE-LCHlch(34.63, 74.95, 317.89°)
OKLaboklab(46.14% 0.1307 -0.1422)
OKLCHoklch(46.14% 0.193 312.6)
XYZxyz(15.6150, 8.3161, 35.4258)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26A3 #4DA326
analogous
#3E26A3 #7C26A3 #A3268C
triadic
#7C26A3 #A37C26 #26A37C
tetradic
#7C26A3 #A33E26 #4DA326 #268CA3
square
#7C26A3 #A33E26 #4DA326 #268CA3
split-complementary
#7C26A3 #8CA326 #26A33E
monochromatic
#300F40 #561A71 #7C26A3 #A036D0 #B868DC

Accessibility & contrast

On white

7.89
#7C26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C26A3
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C26A3#FFFFFF#000000##FFFFFF
##7C26A31.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1453A0
Tritanopia (blue-blind)
#774363
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c26a3;
/* rgb */ color: rgb(124, 38, 163);
/* oklch */ color: oklch(46.1% 0.193 312.6);
Tailwind
colors: {
  custom: {
    50: '#a66abf',
    500: '#7c26a3',
    950: '#000000',
  },
}
SCSS
$custom: #7c26a3;
$custom-light: #a66abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26a3",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 281.28,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46139,
    "c": 0.19308,
    "h": 312.6
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#7C26A3
secondary
#81C263
accent
#E54375
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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