#6C5AEF#6C5AEF

#6C5AEF is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.1% C 0.215 H 282.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6C5AEF
RGBrgb(108, 90, 239)
HSLhsl(247, 82%, 65%)
HSVhsv(247, 62%, 94%)
CMYKcmyk(54.8%, 62.3%, 0%, 6.3%)
CIE-LABlab(47.92, 46.61, -72.89)
CIE-LCHlch(47.92, 86.52, 302.60°)
OKLaboklab(57.06% 0.0471 -0.2093)
OKLCHoklch(57.06% 0.215 282.7)
XYZxyz(25.4157, 16.7309, 83.5348)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AEF #DDEF5A
analogous
#5A93EF #6C5AEF #B65AEF
triadic
#6C5AEF #EF6C5A #5AEF6C
tetradic
#6C5AEF #EF5A93 #DDEF5A #5AEFB6
square
#6C5AEF #EF5A93 #DDEF5A #5AEFB6
split-complementary
#6C5AEF #EFB65A #93EF5A
monochromatic
#2712BC #3A22EA #6C5AEF #9E92F4 #CFCAFA

Accessibility & contrast

On white

4.83
#6C5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6C5AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5AEF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5AEF#FFFFFF#000000##FFFFFF
##6C5AEF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#2D7F9C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c5aef;
/* rgb */ color: rgb(108, 90, 239);
/* oklch */ color: oklch(57.1% 0.215 282.7);
Tailwind
colors: {
  custom: {
    50: '#a18af5',
    500: '#6c5aef',
    950: '#000000',
  },
}
SCSS
$custom: #6c5aef;
$custom-light: #a18af5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5aef",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 247.248,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.21459,
    "h": 282.7
  },
  "luminance": 0.16732
}

Semantic roles & 50–950 ramp

primary
#6C5AEF
secondary
#E6ECB9
accent
#DF07C5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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