#6C4FF2#6C4FF2

#6C4FF2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.231 H 284.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6C4FF2
RGBrgb(108, 79, 242)
HSLhsl(251, 86%, 63%)
HSVhsv(251, 67%, 95%)
CMYKcmyk(55.4%, 67.4%, 0%, 5.1%)
CIE-LABlab(45.89, 53.59, -77.88)
CIE-LCHlch(45.89, 94.53, 304.53°)
OKLaboklab(55.67% 0.0564 -0.224)
OKLCHoklch(55.67% 0.231 284.1)
XYZxyz(25.0024, 15.1894, 85.6016)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4FF2 #D5F24F
analogous
#4F83F2 #6C4FF2 #BD4FF2
triadic
#6C4FF2 #F26C4F #4FF26C
tetradic
#6C4FF2 #F24F83 #D5F24F #4FF2BD
square
#6C4FF2 #F24F83 #D5F24F #4FF2BD
split-complementary
#6C4FF2 #F2BD4F #83F24F
monochromatic
#2C0EB9 #3C16EE #6C4FF2 #9C88F6 #CBC1FA

Accessibility & contrast

On white

5.20
#6C4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6C4FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4FF2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4FF2#FFFFFF#000000##FFFFFF
##6C4FF21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#2A799A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6c4ff2;
/* rgb */ color: rgb(108, 79, 242);
/* oklch */ color: oklch(55.7% 0.231 284.1);
Tailwind
colors: {
  custom: {
    50: '#a282f8',
    500: '#6c4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ff2;
$custom-light: #a282f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ff2",
  "rgb": {
    "r": 108,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 250.675,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55665,
    "c": 0.23101,
    "h": 284.1
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#6C4FF2
secondary
#E1ECB1
accent
#E303BB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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