#6C26C7#6C26C7

#6C26C7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.225 H 296.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6C26C7
RGBrgb(108, 38, 199)
HSLhsl(266, 68%, 46%)
HSVhsv(266, 81%, 78%)
CMYKcmyk(45.7%, 80.9%, 0%, 22%)
CIE-LABlab(35.40, 61.19, -70.47)
CIE-LCHlch(35.40, 93.33, 310.97°)
OKLaboklab(47.12% 0.0984 -0.2021)
OKLCHoklch(47.12% 0.225 296)
XYZxyz(17.1835, 8.6975, 54.7952)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C26C7 #81C726
analogous
#2631C7 #6C26C7 #BD26C7
triadic
#6C26C7 #C76C26 #26C76C
tetradic
#6C26C7 #C72631 #81C726 #26C7BD
square
#6C26C7 #C72631 #81C726 #26C7BD
split-complementary
#6C26C7 #C7BD26 #31C726
monochromatic
#341260 #501C94 #6C26C7 #8C4DDD #AD81E7

Accessibility & contrast

On white

7.67
#6C26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6C26C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C26C7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C26C7#FFFFFF#000000##FFFFFF
##6C26C71.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#525578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c26c7;
/* rgb */ color: rgb(108, 38, 199);
/* oklch */ color: oklch(47.1% 0.225 296.0);
Tailwind
colors: {
  custom: {
    50: '#9f6ad9',
    500: '#6c26c7',
    950: '#000000',
  },
}
SCSS
$custom: #6c26c7;
$custom-light: #9f6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c26c7",
  "rgb": {
    "r": 108,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 266.087,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47121,
    "c": 0.22476,
    "h": 296
  },
  "luminance": 0.08698
}

Semantic roles & 50–950 ramp

primary
#6C26C7
secondary
#AACF79
accent
#EB3D9F
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6C26C7

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

Preview Lab → · Contrast checker → · Palette generator →

#6C26C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva