#6C4ECA#6C4ECA

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

Color values

HEX#6C4ECA
RGBrgb(108, 78, 202)
HSLhsl(255, 54%, 55%)
HSVhsv(255, 61%, 79%)
CMYKcmyk(46.5%, 61.4%, 0%, 20.8%)
CIE-LABlab(42.61, 42.59, -60.44)
CIE-LCHlch(42.61, 73.94, 305.17°)
OKLaboklab(52.33% 0.0618 -0.1728)
OKLCHoklch(52.33% 0.183 289.7)
XYZxyz(19.5664, 12.9004, 57.3248)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4ECA #ACCA4E
analogous
#4E6ECA #6C4ECA #AA4ECA
triadic
#6C4ECA #CA6C4E #4ECA6C
tetradic
#6C4ECA #CA4E6E #ACCA4E #4ECAAA
square
#6C4ECA #CA4E6E #ACCA4E #4ECAAA
split-complementary
#6C4ECA #CAAA4E #6ECA4E
monochromatic
#392479 #4F32A8 #6C4ECA #937DD8 #BAACE6

Accessibility & contrast

On white

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

On black

3.58
#6C4ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6C4ECA#FFFFFF#000000##FFFFFF
##6C4ECA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#4E6B85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c4eca;
/* rgb */ color: rgb(108, 78, 202);
/* oklch */ color: oklch(52.3% 0.183 289.7);
Tailwind
colors: {
  custom: {
    50: '#9d81db',
    500: '#6c4eca',
    950: '#000000',
  },
}
SCSS
$custom: #6c4eca;
$custom-light: #9d81db;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4eca",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 254.516,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.18349,
    "h": 289.7
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#6C4ECA
secondary
#C7D4A0
accent
#DD4BBA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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