#7C26B3#7C26B3

#7C26B3 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.208 H 307.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7C26B3
RGBrgb(124, 38, 179)
HSLhsl(277, 65%, 43%)
HSVhsv(277, 79%, 70%)
CMYKcmyk(30.7%, 78.8%, 0%, 29.8%)
CIE-LABlab(35.84, 59.03, -57.87)
CIE-LCHlch(35.84, 82.67, 315.57°)
OKLaboklab(47.37% 0.1273 -0.1645)
OKLCHoklch(47.37% 0.208 307.7)
XYZxyz(17.1402, 8.9262, 43.4591)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26B3 #5DB326
analogous
#3626B3 #7C26B3 #B326A3
triadic
#7C26B3 #B37C26 #26B37C
tetradic
#7C26B3 #B33626 #5DB326 #26A3B3
square
#7C26B3 #B33626 #5DB326 #26A3B3
split-complementary
#7C26B3 #A3B326 #26B336
monochromatic
#36114E #591B81 #7C26B3 #9C40D6 #B672E1

Accessibility & contrast

On white

7.54
#7C26B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7C26B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C26B3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C26B3#FFFFFF#000000##FFFFFF
##7C26B31.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#734A6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c26b3;
/* rgb */ color: rgb(124, 38, 179);
/* oklch */ color: oklch(47.4% 0.208 307.7);
Tailwind
colors: {
  custom: {
    50: '#a76bcb',
    500: '#7c26b3',
    950: '#000000',
  },
}
SCSS
$custom: #7c26b3;
$custom-light: #a76bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26b3",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 276.596,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47368,
    "c": 0.20805,
    "h": 307.7
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#7C26B3
secondary
#90C86D
accent
#E84081
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C26B3

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

Preview Lab → · Contrast checker → · Palette generator →

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