#7C26C1#7C26C1

#7C26C1 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.221 H 304.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7C26C1
RGBrgb(124, 38, 193)
HSLhsl(273, 67%, 45%)
HSVhsv(273, 80%, 76%)
CMYKcmyk(35.8%, 80.3%, 0%, 24.3%)
CIE-LABlab(36.97, 62.12, -64.30)
CIE-LCHlch(36.97, 89.40, 314.01°)
OKLaboklab(48.51% 0.1237 -0.1834)
OKLCHoklch(48.51% 0.221 304)
XYZxyz(18.6287, 9.5216, 51.2982)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26C1 #6BC126
analogous
#2E26C1 #7C26C1 #C126B9
triadic
#7C26C1 #C17C26 #26C17C
tetradic
#7C26C1 #C12E26 #6BC126 #26B9C1
square
#7C26C1 #C12E26 #6BC126 #26B9C1
split-complementary
#7C26C1 #B9C126 #26C12E
monochromatic
#3A125B #5B1C8E #7C26C1 #9A49DB #B67CE5

Accessibility & contrast

On white

7.23
#7C26C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7C26C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C26C1
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C26C1#FFFFFF#000000##FFFFFF
##7C26C11.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#6E5075
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c26c1;
/* rgb */ color: rgb(124, 38, 193);
/* oklch */ color: oklch(48.5% 0.221 304.0);
Tailwind
colors: {
  custom: {
    50: '#a86cd5',
    500: '#7c26c1',
    950: '#000000',
  },
}
SCSS
$custom: #7c26c1;
$custom-light: #a86cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26c1",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 273.29,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.22121,
    "h": 304
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#7C26C1
secondary
#9DCD75
accent
#EA3E8A
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7C26C1

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

Preview Lab → · Contrast checker → · Palette generator →

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