#6B26C7#6B26C7

#6B26C7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 47.0% C 0.225 H 295.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6B26C7
RGBrgb(107, 38, 199)
HSLhsl(266, 68%, 46%)
HSVhsv(266, 81%, 78%)
CMYKcmyk(46.2%, 80.9%, 0%, 22%)
CIE-LABlab(35.27, 61.06, -70.68)
CIE-LCHlch(35.27, 93.40, 310.82°)
OKLaboklab(47.01% 0.0969 -0.2027)
OKLCHoklch(47.01% 0.225 295.6)
XYZxyz(17.0625, 8.6351, 54.7895)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B26C7 #82C726
analogous
#2632C7 #6B26C7 #BC26C7
triadic
#6B26C7 #C76B26 #26C76B
tetradic
#6B26C7 #C72632 #82C726 #26C7BC
square
#6B26C7 #C72632 #82C726 #26C7BC
split-complementary
#6B26C7 #C7BC26 #32C726
monochromatic
#341260 #4F1C94 #6B26C7 #8B4DDD #AC81E7

Accessibility & contrast

On white

7.70
#6B26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6B26C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B26C7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B26C7#FFFFFF#000000##FFFFFF
##6B26C71.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b26c7;
/* rgb */ color: rgb(107, 38, 199);
/* oklch */ color: oklch(47.0% 0.225 295.6);
Tailwind
colors: {
  custom: {
    50: '#9e6ad9',
    500: '#6b26c7',
    950: '#000000',
  },
}
SCSS
$custom: #6b26c7;
$custom-light: #9e6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b26c7",
  "rgb": {
    "r": 107,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 265.714,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47008,
    "c": 0.22468,
    "h": 295.6
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#6B26C7
secondary
#ABCF79
accent
#EB3DA0
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6B26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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