#6C5CE6#6C5CE6

#6C5CE6 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.201 H 283.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6C5CE6
RGBrgb(108, 92, 230)
HSLhsl(247, 73%, 63%)
HSVhsv(247, 60%, 90%)
CMYKcmyk(53%, 60%, 0%, 9.8%)
CIE-LABlab(47.69, 42.76, -68.19)
CIE-LCHlch(47.69, 80.48, 302.09°)
OKLaboklab(56.68% 0.0458 -0.1955)
OKLCHoklch(56.68% 0.201 283.2)
XYZxyz(24.2901, 16.5542, 76.7629)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CE6 #D6E65C
analogous
#5C91E6 #6C5CE6 #B15CE6
triadic
#6C5CE6 #E66C5C #5CE66C
tetradic
#6C5CE6 #E65C91 #D6E65C #5CE6B1
square
#6C5CE6 #E65C91 #D6E65C #5CE6B1
split-complementary
#6C5CE6 #E6B15C #91E65C
monochromatic
#2C1BAD #3C27DE #6C5CE6 #9C91EE #CCC6F6

Accessibility & contrast

On white

4.87
#6C5CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6C5CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CE6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CE6#FFFFFF#000000##FFFFFF
##6C5CE61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#377D98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6c5ce6;
/* rgb */ color: rgb(108, 92, 230);
/* oklch */ color: oklch(56.7% 0.201 283.2);
Tailwind
colors: {
  custom: {
    50: '#a08bef',
    500: '#6c5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ce6;
$custom-light: #a08bef;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ce6",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 246.957,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56685,
    "c": 0.20082,
    "h": 283.2
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#6C5CE6
secondary
#E2E8B6
accent
#D610BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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