#6C4CF7#6C4CF7

#6C4CF7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.240 H 284.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6C4CF7
RGBrgb(108, 76, 247)
HSLhsl(251, 91%, 63%)
HSVhsv(251, 69%, 97%)
CMYKcmyk(56.3%, 69.2%, 0%, 3.1%)
CIE-LABlab(45.73, 56.62, -80.94)
CIE-LCHlch(45.73, 98.78, 304.97°)
OKLaboklab(55.68% 0.058 -0.233)
OKLCHoklch(55.68% 0.24 284)
XYZxyz(25.5521, 15.0709, 89.5402)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CF7 #D7F74C
analogous
#4C81F7 #6C4CF7 #C14CF7
triadic
#6C4CF7 #F76C4C #4CF76C
tetradic
#6C4CF7 #F74C81 #D7F74C #4CF7C1
square
#6C4CF7 #F74C81 #D7F74C #4CF7C1
split-complementary
#6C4CF7 #F7C14C #81F74C
monochromatic
#2B09C0 #3C11F4 #6C4CF7 #9C87FA #CCC1FC

Accessibility & contrast

On white

5.23
#6C4CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6C4CF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CF7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CF7#FFFFFF#000000##FFFFFF
##6C4CF71.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FC
Deuteranopia (green-blind)
#0067F4
Tritanopia (blue-blind)
#23799C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c4cf7;
/* rgb */ color: rgb(108, 76, 247);
/* oklch */ color: oklch(55.7% 0.240 284.0);
Tailwind
colors: {
  custom: {
    50: '#a381fb',
    500: '#6c4cf7',
    950: '#000000',
  },
}
SCSS
$custom: #6c4cf7;
$custom-light: #a381fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4cf7",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 251.228,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55677,
    "c": 0.24011,
    "h": 284
  },
  "luminance": 0.15072
}

Semantic roles & 50–950 ramp

primary
#6C4CF7
secondary
#E2EEB1
accent
#E600BB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #6C4CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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