#6C5AED#6C5AED

#6C5AED is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.9% C 0.212 H 282.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6C5AED
RGBrgb(108, 90, 237)
HSLhsl(247, 80%, 64%)
HSVhsv(247, 62%, 93%)
CMYKcmyk(54.4%, 62%, 0%, 7.1%)
CIE-LABlab(47.77, 46.01, -72.01)
CIE-LCHlch(47.77, 85.45, 302.58°)
OKLaboklab(56.9% 0.0473 -0.2068)
OKLCHoklch(56.9% 0.212 282.9)
XYZxyz(25.1219, 16.6134, 81.9873)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AED #DBED5A
analogous
#5A92ED #6C5AED #B65AED
triadic
#6C5AED #ED6C5A #5AED6C
tetradic
#6C5AED #ED5A92 #DBED5A #5AEDB6
square
#6C5AED #ED5A92 #DBED5A #5AEDB6
split-complementary
#6C5AED #EDB65A #92ED5A
monochromatic
#2814B8 #3B23E7 #6C5AED #9D91F3 #CEC8F9

Accessibility & contrast

On white

4.86
#6C5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6C5AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5AED
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5AED#FFFFFF#000000##FFFFFF
##6C5AED1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#307E9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6c5aed;
/* rgb */ color: rgb(108, 90, 237);
/* oklch */ color: oklch(56.9% 0.212 282.9);
Tailwind
colors: {
  custom: {
    50: '#a18af4',
    500: '#6c5aed',
    950: '#000000',
  },
}
SCSS
$custom: #6c5aed;
$custom-light: #a18af4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5aed",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 247.347,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56901,
    "c": 0.21211,
    "h": 282.9
  },
  "luminance": 0.16615
}

Semantic roles & 50–950 ramp

primary
#6C5AED
secondary
#E5EBB8
accent
#DD09C3
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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