#6A4ECC#6A4ECC

#6A4ECC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.186 H 288.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6A4ECC
RGBrgb(106, 78, 204)
HSLhsl(253, 55%, 55%)
HSVhsv(253, 62%, 80%)
CMYKcmyk(48%, 61.8%, 0%, 20%)
CIE-LABlab(42.57, 42.76, -61.67)
CIE-LCHlch(42.57, 75.05, 304.74°)
OKLaboklab(52.3% 0.059 -0.1765)
OKLCHoklch(52.3% 0.186 288.5)
XYZxyz(19.5642, 12.8718, 58.5687)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4ECC #B0CC4E
analogous
#4E71CC #6A4ECC #A94ECC
triadic
#6A4ECC #CC6A4E #4ECC6A
tetradic
#6A4ECC #CC4E71 #B0CC4E #4ECCA9
square
#6A4ECC #CC4E71 #B0CC4E #4ECCA9
split-complementary
#6A4ECC #CCA94E #71CC4E
monochromatic
#37247C #4D31AB #6A4ECC #927EDA #BAADE7

Accessibility & contrast

On white

5.87
#6A4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6A4ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4ECC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4ECC#FFFFFF#000000##FFFFFF
##6A4ECC1.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#496C86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a4ecc;
/* rgb */ color: rgb(106, 78, 204);
/* oklch */ color: oklch(52.3% 0.186 288.5);
Tailwind
colors: {
  custom: {
    50: '#9c81dc',
    500: '#6a4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ecc;
$custom-light: #9c81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ecc",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 253.333,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.18607,
    "h": 288.5
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#6A4ECC
secondary
#CAD5A1
accent
#DF49BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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