#7C26B6#7C26B6

#7C26B6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.211 H 306.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7C26B6
RGBrgb(124, 38, 182)
HSLhsl(276, 65%, 43%)
HSVhsv(276, 79%, 71%)
CMYKcmyk(31.9%, 79.1%, 0%, 28.6%)
CIE-LABlab(36.08, 59.69, -59.27)
CIE-LCHlch(36.08, 84.11, 315.20°)
OKLaboklab(47.61% 0.1266 -0.1686)
OKLCHoklch(47.61% 0.211 306.9)
XYZxyz(17.4470, 9.0489, 45.0744)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26B6 #60B626
analogous
#3426B6 #7C26B6 #B626A8
triadic
#7C26B6 #B67C26 #26B67C
tetradic
#7C26B6 #B63426 #60B626 #26A8B6
square
#7C26B6 #B63426 #60B626 #26A8B6
split-complementary
#7C26B6 #A8B626 #26B634
monochromatic
#371151 #5A1B83 #7C26B6 #9B42D7 #B674E2

Accessibility & contrast

On white

7.47
#7C26B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7C26B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C26B6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C26B6#FFFFFF#000000##FFFFFF
##7C26B61.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#724B6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c26b6;
/* rgb */ color: rgb(124, 38, 182);
/* oklch */ color: oklch(47.6% 0.211 306.9);
Tailwind
colors: {
  custom: {
    50: '#a86bcd',
    500: '#7c26b6',
    950: '#000000',
  },
}
SCSS
$custom: #7c26b6;
$custom-light: #a86bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26b6",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 275.833,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47607,
    "c": 0.21087,
    "h": 306.9
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#7C26B6
secondary
#93C96E
accent
#E83F83
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7C26B6

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

Preview Lab → · Contrast checker → · Palette generator →

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