#6C4EF2#6C4EF2

#6C4EF2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.232 H 284.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6C4EF2
RGBrgb(108, 78, 242)
HSLhsl(251, 86%, 63%)
HSVhsv(251, 68%, 95%)
CMYKcmyk(55.4%, 67.8%, 0%, 5.1%)
CIE-LABlab(45.70, 54.13, -78.20)
CIE-LCHlch(45.70, 95.10, 304.69°)
OKLaboklab(55.53% 0.0572 -0.2249)
OKLCHoklch(55.53% 0.232 284.3)
XYZxyz(24.9309, 15.0462, 85.5777)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4EF2 #D4F24E
analogous
#4E82F2 #6C4EF2 #BE4EF2
triadic
#6C4EF2 #F26C4E #4EF26C
tetradic
#6C4EF2 #F24E82 #D4F24E #4EF2BE
square
#6C4EF2 #F24E82 #D4F24E #4EF2BE
split-complementary
#6C4EF2 #F2BE4E #82F24E
monochromatic
#2D0EB8 #3D15EE #6C4EF2 #9B87F6 #CBC0FA

Accessibility & contrast

On white

5.24
#6C4EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C4EF2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4EF2#FFFFFF#000000##FFFFFF
##6C4EF21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#2B799A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c4ef2;
/* rgb */ color: rgb(108, 78, 242);
/* oklch */ color: oklch(55.5% 0.232 284.3);
Tailwind
colors: {
  custom: {
    50: '#a282f8',
    500: '#6c4ef2',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ef2;
$custom-light: #a282f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ef2",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 242
  },
  "hsl": {
    "h": 250.976,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55525,
    "c": 0.23212,
    "h": 284.3
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#6C4EF2
secondary
#E1ECB0
accent
#E303BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C4EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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