#7C26C5#7C26C5

#7C26C5 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.8% C 0.225 H 303.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7C26C5
RGBrgb(124, 38, 197)
HSLhsl(272, 68%, 46%)
HSVhsv(272, 81%, 77%)
CMYKcmyk(37.1%, 80.7%, 0%, 22.7%)
CIE-LABlab(37.30, 63.01, -66.09)
CIE-LCHlch(37.30, 91.32, 313.63°)
OKLaboklab(48.84% 0.1225 -0.1887)
OKLCHoklch(48.84% 0.225 303)
XYZxyz(19.0809, 9.7025, 53.6800)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26C5 #6FC526
analogous
#2C26C5 #7C26C5 #C526BE
triadic
#7C26C5 #C57C26 #26C57C
tetradic
#7C26C5 #C52C26 #6FC526 #26BEC5
square
#7C26C5 #C52C26 #6FC526 #26BEC5
split-complementary
#7C26C5 #BEC526 #26C52C
monochromatic
#3B125E #5C1C92 #7C26C5 #9A4CDC #B77FE6

Accessibility & contrast

On white

7.14
#7C26C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7C26C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C26C5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C26C5#FFFFFF#000000##FFFFFF
##7C26C51.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#6D5277
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c26c5;
/* rgb */ color: rgb(124, 38, 197);
/* oklch */ color: oklch(48.8% 0.225 303.0);
Tailwind
colors: {
  custom: {
    50: '#a96cd8',
    500: '#7c26c5',
    950: '#000000',
  },
}
SCSS
$custom: #7c26c5;
$custom-light: #a96cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26c5",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 272.453,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4884,
    "c": 0.22498,
    "h": 303
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#7C26C5
secondary
#A0CF78
accent
#EB3D8D
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110715
muted
#807A83

Preview Lab

Preview with #7C26C5

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

Preview Lab → · Contrast checker → · Palette generator →

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