#6C5CE8#6C5CE8

#6C5CE8 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.8% C 0.203 H 283.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6C5CE8
RGBrgb(108, 92, 232)
HSLhsl(247, 75%, 64%)
HSVhsv(247, 60%, 91%)
CMYKcmyk(53.4%, 60.3%, 0%, 9%)
CIE-LABlab(47.84, 43.36, -69.08)
CIE-LCHlch(47.84, 81.56, 302.12°)
OKLaboklab(56.84% 0.0457 -0.1982)
OKLCHoklch(56.84% 0.203 283)
XYZxyz(24.5725, 16.6672, 78.2506)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CE8 #D8E85C
analogous
#5C92E8 #6C5CE8 #B25CE8
triadic
#6C5CE8 #E86C5C #5CE86C
tetradic
#6C5CE8 #E85C92 #D8E85C #5CE8B2
square
#6C5CE8 #E85C92 #D8E85C #5CE8B2
split-complementary
#6C5CE8 #E8B25C #92E85C
monochromatic
#2A19B1 #3C26E0 #6C5CE8 #9C92F0 #CDC7F7

Accessibility & contrast

On white

4.85
#6C5CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C5CE8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CE8#FFFFFF#000000##FFFFFF
##6C5CE81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#357E99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6c5ce8;
/* rgb */ color: rgb(108, 92, 232);
/* oklch */ color: oklch(56.8% 0.203 283.0);
Tailwind
colors: {
  custom: {
    50: '#a08bf0',
    500: '#6c5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ce8;
$custom-light: #a08bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ce8",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 246.857,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56836,
    "c": 0.20336,
    "h": 283
  },
  "luminance": 0.16669
}

Semantic roles & 50–950 ramp

primary
#6C5CE8
secondary
#E3E9B7
accent
#D70EC0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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