#6C4DEF#6C4DEF

#6C4DEF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.230 H 284.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6C4DEF
RGBrgb(108, 77, 239)
HSLhsl(251, 84%, 62%)
HSVhsv(251, 68%, 94%)
CMYKcmyk(54.8%, 67.8%, 0%, 6.3%)
CIE-LABlab(45.26, 53.79, -77.23)
CIE-LCHlch(45.26, 94.12, 304.86°)
OKLaboklab(55.13% 0.0585 -0.2221)
OKLCHoklch(55.13% 0.23 284.8)
XYZxyz(24.4135, 14.7265, 83.2007)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DEF #D0EF4D
analogous
#4D7FEF #6C4DEF #BD4DEF
triadic
#6C4DEF #EF6C4D #4DEF6C
tetradic
#6C4DEF #EF4D7F #D0EF4D #4DEFBD
square
#6C4DEF #EF4D7F #D0EF4D #4DEFBD
split-complementary
#6C4DEF #EFBD4D #7FEF4D
monochromatic
#2F10B2 #3E15EA #6C4DEF #9A85F4 #C9BDF9

Accessibility & contrast

On white

5.32
#6C4DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6C4DEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DEF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DEF#FFFFFF#000000##FFFFFF
##6C4DEF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F4
Deuteranopia (green-blind)
#0066EC
Tritanopia (blue-blind)
#2F7798
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c4def;
/* rgb */ color: rgb(108, 77, 239);
/* oklch */ color: oklch(55.1% 0.230 284.8);
Tailwind
colors: {
  custom: {
    50: '#a281f5',
    500: '#6c4def',
    950: '#000000',
  },
}
SCSS
$custom: #6c4def;
$custom-light: #a281f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4def",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 239
  },
  "hsl": {
    "h": 251.481,
    "s": 83.505,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55133,
    "c": 0.2297,
    "h": 284.8
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#6C4DEF
secondary
#DEEAAE
accent
#E006B6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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