#6A26C7#6A26C7

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

Color values

HEX#6A26C7
RGBrgb(106, 38, 199)
HSLhsl(265, 68%, 46%)
HSVhsv(265, 81%, 78%)
CMYKcmyk(46.7%, 80.9%, 0%, 22%)
CIE-LABlab(35.15, 60.93, -70.88)
CIE-LCHlch(35.15, 93.47, 310.68°)
OKLaboklab(46.9% 0.0954 -0.2033)
OKLCHoklch(46.9% 0.225 295.1)
XYZxyz(16.9430, 8.5734, 54.7839)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A26C7 #83C726
analogous
#2632C7 #6A26C7 #BB26C7
triadic
#6A26C7 #C76A26 #26C76A
tetradic
#6A26C7 #C72632 #83C726 #26C7BB
square
#6A26C7 #C72632 #83C726 #26C7BB
split-complementary
#6A26C7 #C7BB26 #32C726
monochromatic
#331260 #4F1C94 #6A26C7 #8A4DDD #AC81E7

Accessibility & contrast

On white

7.74
#6A26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6A26C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A26C7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A26C7#FFFFFF#000000##FFFFFF
##6A26C71.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#4F5578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a26c7;
/* rgb */ color: rgb(106, 38, 199);
/* oklch */ color: oklch(46.9% 0.225 295.1);
Tailwind
colors: {
  custom: {
    50: '#9e6ad9',
    500: '#6a26c7',
    950: '#000000',
  },
}
SCSS
$custom: #6a26c7;
$custom-light: #9e6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a26c7",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 265.342,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46897,
    "c": 0.22462,
    "h": 295.1
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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