#6C5CEB#6C5CEB

#6C5CEB is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.207 H 282.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6C5CEB
RGBrgb(108, 92, 235)
HSLhsl(247, 78%, 64%)
HSVhsv(247, 61%, 92%)
CMYKcmyk(54%, 60.9%, 0%, 7.8%)
CIE-LABlab(48.06, 44.26, -70.41)
CIE-LCHlch(48.06, 83.17, 302.15°)
OKLaboklab(57.07% 0.0455 -0.2021)
OKLCHoklch(57.07% 0.207 282.7)
XYZxyz(25.0023, 16.8391, 80.5140)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CEB #DBEB5C
analogous
#5C94EB #6C5CEB #B45CEB
triadic
#6C5CEB #EB6C5C #5CEB6C
tetradic
#6C5CEB #EB5C94 #DBEB5C #5CEBB4
square
#6C5CEB #EB5C94 #DBEB5C #5CEBB4
split-complementary
#6C5CEB #EBB45C #94EB5C
monochromatic
#2816B6 #3B25E4 #6C5CEB #9D93F2 #CEC9F8

Accessibility & contrast

On white

4.81
#6C5CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6C5CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CEB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CEB#FFFFFF#000000##FFFFFF
##6C5CEB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#327F9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c5ceb;
/* rgb */ color: rgb(108, 92, 235);
/* oklch */ color: oklch(57.1% 0.207 282.7);
Tailwind
colors: {
  custom: {
    50: '#a08bf2',
    500: '#6c5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ceb;
$custom-light: #a08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ceb",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 246.713,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.20715,
    "h": 282.7
  },
  "luminance": 0.16841
}

Semantic roles & 50–950 ramp

primary
#6C5CEB
secondary
#E5EAB8
accent
#DA0BC3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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