#6A2CC7#6A2CC7

#6A2CC7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.219 H 294.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6A2CC7
RGBrgb(106, 44, 199)
HSLhsl(264, 64%, 48%)
HSVhsv(264, 78%, 78%)
CMYKcmyk(46.7%, 77.9%, 0%, 22%)
CIE-LABlab(35.96, 58.57, -69.55)
CIE-LCHlch(35.96, 90.92, 310.10°)
OKLaboklab(47.46% 0.0912 -0.1995)
OKLCHoklch(47.46% 0.219 294.6)
XYZxyz(17.1505, 8.9886, 54.8531)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CC7 #89C72C
analogous
#2C3BC7 #6A2CC7 #B72CC7
triadic
#6A2CC7 #C76A2C #2CC76A
tetradic
#6A2CC7 #C72C3B #89C72C #2CC7B7
square
#6A2CC7 #C72C3B #89C72C #2CC7B7
split-complementary
#6A2CC7 #C7B72C #3BC72C
monochromatic
#351663 #4F2195 #6A2CC7 #8B56DA #AD89E5

Accessibility & contrast

On white

7.51
#6A2CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6A2CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CC7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CC7#FFFFFF#000000##FFFFFF
##6A2CC71.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#4E5779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a2cc7;
/* rgb */ color: rgb(106, 44, 199);
/* oklch */ color: oklch(47.5% 0.219 294.6);
Tailwind
colors: {
  custom: {
    50: '#9e6dd9',
    500: '#6a2cc7',
    950: '#000000',
  },
}
SCSS
$custom: #6a2cc7;
$custom-light: #9e6dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2cc7",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 264,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47461,
    "c": 0.21933,
    "h": 294.6
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A2CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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