#6C4FE2#6C4FE2

#6C4FE2 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.212 H 286.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6C4FE2
RGBrgb(108, 79, 226)
HSLhsl(252, 72%, 60%)
HSVhsv(252, 65%, 89%)
CMYKcmyk(52.2%, 65%, 0%, 11.4%)
CIE-LABlab(44.62, 48.95, -70.93)
CIE-LCHlch(44.62, 86.18, 304.61°)
OKLaboklab(54.35% 0.0586 -0.2036)
OKLCHoklch(54.35% 0.212 286)
XYZxyz(22.7037, 14.2699, 73.4948)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4FE2 #C5E24F
analogous
#4F7BE2 #6C4FE2 #B64FE2
triadic
#6C4FE2 #E26C4F #4FE26C
tetradic
#6C4FE2 #E24F7B #C5E24F #4FE2B6
square
#6C4FE2 #E24F7B #C5E24F #4FE2B6
split-complementary
#6C4FE2 #E2B64F #7BE24F
monochromatic
#341A9D #4522D1 #6C4FE2 #9884EB #C4B8F3

Accessibility & contrast

On white

5.45
#6C4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6C4FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4FE2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4FE2#FFFFFF#000000##FFFFFF
##6C4FE21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#3D7492
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c4fe2;
/* rgb */ color: rgb(108, 79, 226);
/* oklch */ color: oklch(54.4% 0.212 286.0);
Tailwind
colors: {
  custom: {
    50: '#a082ec',
    500: '#6c4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #6c4fe2;
$custom-light: #a082ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4fe2",
  "rgb": {
    "r": 108,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 251.837,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54351,
    "c": 0.21187,
    "h": 286
  },
  "luminance": 0.14271
}

Semantic roles & 50–950 ramp

primary
#6C4FE2
secondary
#D8E3AA
accent
#EE39CB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6C4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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