#6C5AEE#6C5AEE

#6C5AEE is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.0% C 0.213 H 282.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6C5AEE
RGBrgb(108, 90, 238)
HSLhsl(247, 81%, 64%)
HSVhsv(247, 62%, 93%)
CMYKcmyk(54.6%, 62.2%, 0%, 6.7%)
CIE-LABlab(47.84, 46.31, -72.45)
CIE-LCHlch(47.84, 85.98, 302.59°)
OKLaboklab(56.98% 0.0472 -0.2081)
OKLCHoklch(56.98% 0.213 282.8)
XYZxyz(25.2684, 16.6720, 82.7589)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AEE #DCEE5A
analogous
#5A92EE #6C5AEE #B65AEE
triadic
#6C5AEE #EE6C5A #5AEE6C
tetradic
#6C5AEE #EE5A92 #DCEE5A #5AEEB6
square
#6C5AEE #EE5A92 #DCEE5A #5AEEB6
split-complementary
#6C5AEE #EEB65A #92EE5A
monochromatic
#2813BA #3B23E8 #6C5AEE #9D91F4 #CFC9F9

Accessibility & contrast

On white

4.84
#6C5AEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6C5AEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5AEE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5AEE#FFFFFF#000000##FFFFFF
##6C5AEE1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#2E7E9C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c5aee;
/* rgb */ color: rgb(108, 90, 238);
/* oklch */ color: oklch(57.0% 0.213 282.8);
Tailwind
colors: {
  custom: {
    50: '#a18af5',
    500: '#6c5aee',
    950: '#000000',
  },
}
SCSS
$custom: #6c5aee;
$custom-light: #a18af5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5aee",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 247.297,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56979,
    "c": 0.21335,
    "h": 282.8
  },
  "luminance": 0.16674
}

Semantic roles & 50–950 ramp

primary
#6C5AEE
secondary
#E5ECB8
accent
#DE08C4
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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