#6C4BD7#6C4BD7

#6C4BD7 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.9% C 0.203 H 288.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6C4BD7
RGBrgb(108, 75, 215)
HSLhsl(254, 64%, 57%)
HSVhsv(254, 65%, 84%)
CMYKcmyk(49.8%, 65.1%, 0%, 15.7%)
CIE-LABlab(42.95, 47.99, -67.37)
CIE-LCHlch(42.95, 82.71, 305.46°)
OKLaboklab(52.88% 0.0637 -0.1932)
OKLCHoklch(52.88% 0.203 288.2)
XYZxyz(20.9626, 13.1257, 65.7058)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BD7 #B6D74B
analogous
#4B70D7 #6C4BD7 #B24BD7
triadic
#6C4BD7 #D76C4B #4BD76C
tetradic
#6C4BD7 #D74B70 #B6D74B #4BD7B2
square
#6C4BD7 #D74B70 #B6D74B #4BD7B2
split-complementary
#6C4BD7 #D7B24B #70D74B
monochromatic
#381E89 #4C2ABB #6C4BD7 #957DE2 #BEAFED

Accessibility & contrast

On white

5.79
#6C4BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6C4BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BD7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BD7#FFFFFF#000000##FFFFFF
##6C4BD71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#466D8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c4bd7;
/* rgb */ color: rgb(108, 75, 215);
/* oklch */ color: oklch(52.9% 0.203 288.2);
Tailwind
colors: {
  custom: {
    50: '#9f7fe4',
    500: '#6c4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bd7;
$custom-light: #9f7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bd7",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 254.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.20338,
    "h": 288.2
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#6C4BD7
secondary
#CEDBA2
accent
#E741C0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6C4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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