#6C4FE5#6C4FE5

#6C4FE5 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.215 H 285.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6C4FE5
RGBrgb(108, 79, 229)
HSLhsl(252, 74%, 60%)
HSVhsv(252, 66%, 90%)
CMYKcmyk(52.8%, 65.5%, 0%, 10.2%)
CIE-LABlab(44.85, 49.82, -72.25)
CIE-LCHlch(44.85, 87.76, 304.59°)
OKLaboklab(54.59% 0.0582 -0.2075)
OKLCHoklch(54.59% 0.216 285.7)
XYZxyz(23.1189, 14.4360, 75.6818)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4FE5 #C8E54F
analogous
#4F7DE5 #6C4FE5 #B74FE5
triadic
#6C4FE5 #E56C4F #4FE56C
tetradic
#6C4FE5 #E54F7D #C8E54F #4FE5B7
square
#6C4FE5 #E54F7D #C8E54F #4FE5B7
split-complementary
#6C4FE5 #E5B74F #7DE54F
monochromatic
#3318A2 #4320D7 #6C4FE5 #9984ED #C5BAF5

Accessibility & contrast

On white

5.40
#6C4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6C4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4FE5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4FE5#FFFFFF#000000##FFFFFF
##6C4FE51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#3A7593
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c4fe5;
/* rgb */ color: rgb(108, 79, 229);
/* oklch */ color: oklch(54.6% 0.215 285.7);
Tailwind
colors: {
  custom: {
    50: '#a082ee',
    500: '#6c4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #6c4fe5;
$custom-light: #a082ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4fe5",
  "rgb": {
    "r": 108,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 251.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.2155,
    "h": 285.7
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#6C4FE5
secondary
#D9E5AB
accent
#D60FB0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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