#6C4CD7#6C4CD7

#6C4CD7 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.0% C 0.202 H 288.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#6C4CD7
RGBrgb(108, 76, 215)
HSLhsl(254, 63%, 57%)
HSVhsv(254, 65%, 84%)
CMYKcmyk(49.8%, 64.7%, 0%, 15.7%)
CIE-LABlab(43.16, 47.44, -67.04)
CIE-LCHlch(43.16, 82.12, 305.28°)
OKLaboklab(53.03% 0.0627 -0.1922)
OKLCHoklch(53.03% 0.202 288.1)
XYZxyz(21.0310, 13.2624, 65.7286)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CD7 #B7D74C
analogous
#4C72D7 #6C4CD7 #B24CD7
triadic
#6C4CD7 #D76C4C #4CD76C
tetradic
#6C4CD7 #D74C72 #B7D74C #4CD7B2
square
#6C4CD7 #D74C72 #B7D74C #4CD7B2
split-complementary
#6C4CD7 #D7B24C #72D74C
monochromatic
#371F8A #4C2ABC #6C4CD7 #957EE2 #BEB0ED

Accessibility & contrast

On white

5.75
#6C4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6C4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CD7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CD7#FFFFFF#000000##FFFFFF
##6C4CD71.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c4cd7;
/* rgb */ color: rgb(108, 76, 215);
/* oklch */ color: oklch(53.0% 0.202 288.1);
Tailwind
colors: {
  custom: {
    50: '#9f80e4',
    500: '#6c4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #6c4cd7;
$custom-light: #9f80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4cd7",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 253.813,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5303,
    "c": 0.20215,
    "h": 288.1
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#6C4CD7
secondary
#CFDCA3
accent
#E641C0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6C4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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