#6C5CEE#6C5CEE

#6C5CEE is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.3% C 0.211 H 282.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6C5CEE
RGBrgb(108, 92, 238)
HSLhsl(247, 81%, 65%)
HSVhsv(247, 61%, 93%)
CMYKcmyk(54.6%, 61.3%, 0%, 6.7%)
CIE-LABlab(48.28, 45.17, -71.74)
CIE-LCHlch(48.28, 84.77, 302.19°)
OKLaboklab(57.3% 0.0454 -0.206)
OKLCHoklch(57.3% 0.211 282.4)
XYZxyz(25.4394, 17.0139, 82.8159)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CEE #DEEE5C
analogous
#5C95EE #6C5CEE #B55CEE
triadic
#6C5CEE #EE6C5C #5CEE6C
tetradic
#6C5CEE #EE5C95 #DEEE5C #5CEEB5
square
#6C5CEE #EE5C95 #DEEE5C #5CEEB5
split-complementary
#6C5CEE #EEB55C #95EE5C
monochromatic
#2614BC #3A25E8 #6C5CEE #9E93F4 #D0CBFA

Accessibility & contrast

On white

4.77
#6C5CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6C5CEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CEE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CEE#FFFFFF#000000##FFFFFF
##6C5CEE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#006EEB
Tritanopia (blue-blind)
#2E809C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6c5cee;
/* rgb */ color: rgb(108, 92, 238);
/* oklch */ color: oklch(57.3% 0.211 282.4);
Tailwind
colors: {
  custom: {
    50: '#a18bf5',
    500: '#6c5cee',
    950: '#000000',
  },
}
SCSS
$custom: #6c5cee;
$custom-light: #a18bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5cee",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 246.575,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.21091,
    "h": 282.4
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#6C5CEE
secondary
#E6ECBA
accent
#DD08C6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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