#6A2CC6#6A2CC6

#6A2CC6 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.218 H 294.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6A2CC6
RGBrgb(106, 44, 198)
HSLhsl(264, 64%, 47%)
HSVhsv(264, 78%, 78%)
CMYKcmyk(46.5%, 77.8%, 0%, 22.4%)
CIE-LABlab(35.87, 58.31, -69.11)
CIE-LCHlch(35.87, 90.43, 310.16°)
OKLaboklab(47.37% 0.0915 -0.1982)
OKLCHoklch(47.37% 0.218 294.8)
XYZxyz(17.0348, 8.9423, 54.2436)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CC6 #88C62C
analogous
#2C3BC6 #6A2CC6 #B72CC6
triadic
#6A2CC6 #C66A2C #2CC66A
tetradic
#6A2CC6 #C62C3B #88C62C #2CC6B7
square
#6A2CC6 #C62C3B #88C62C #2CC6B7
split-complementary
#6A2CC6 #C6B72C #3BC62C
monochromatic
#341662 #4F2194 #6A2CC6 #8B56D9 #AD88E5

Accessibility & contrast

On white

7.53
#6A2CC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6A2CC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CC6
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CC6#FFFFFF#000000##FFFFFF
##6A2CC61.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#4F5779
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a2cc6;
/* rgb */ color: rgb(106, 44, 198);
/* oklch */ color: oklch(47.4% 0.218 294.8);
Tailwind
colors: {
  custom: {
    50: '#9d6dd8',
    500: '#6a2cc6',
    950: '#000000',
  },
}
SCSS
$custom: #6a2cc6;
$custom-light: #9d6dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2cc6",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 198
  },
  "hsl": {
    "h": 264.156,
    "s": 63.636,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.21829,
    "h": 294.8
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#6A2CC6
secondary
#AFCE80
accent
#E741A4
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6A2CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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