#6C5CE5#6C5CE5

#6C5CE5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.6% C 0.200 H 283.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6C5CE5
RGBrgb(108, 92, 229)
HSLhsl(247, 72%, 63%)
HSVhsv(247, 60%, 90%)
CMYKcmyk(52.8%, 59.8%, 0%, 10.2%)
CIE-LABlab(47.62, 42.46, -67.74)
CIE-LCHlch(47.62, 79.94, 302.08°)
OKLaboklab(56.61% 0.0458 -0.1942)
OKLCHoklch(56.61% 0.2 283.3)
XYZxyz(24.1500, 16.4982, 76.0255)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CE5 #D5E55C
analogous
#5C91E5 #6C5CE5 #B05CE5
triadic
#6C5CE5 #E56C5C #5CE56C
tetradic
#6C5CE5 #E55C91 #D5E55C #5CE5B0
square
#6C5CE5 #E55C91 #D5E55C #5CE5B0
split-complementary
#6C5CE5 #E5B05C #91E55C
monochromatic
#2C1BAB #3C27DD #6C5CE5 #9C91ED #CBC6F6

Accessibility & contrast

On white

4.88
#6C5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6C5CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CE5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CE5#FFFFFF#000000##FFFFFF
##6C5CE51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#387D98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6c5ce5;
/* rgb */ color: rgb(108, 92, 229);
/* oklch */ color: oklch(56.6% 0.200 283.3);
Tailwind
colors: {
  custom: {
    50: '#a08bee',
    500: '#6c5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ce5;
$custom-light: #a08bee;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ce5",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 247.007,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56609,
    "c": 0.19956,
    "h": 283.3
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

primary
#6C5CE5
secondary
#E1E7B6
accent
#D511BE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6C5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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