#6C5CE3#6C5CE3

#6C5CE3 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.5% C 0.197 H 283.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6C5CE3
RGBrgb(108, 92, 227)
HSLhsl(247, 71%, 63%)
HSVhsv(247, 59%, 89%)
CMYKcmyk(52.4%, 59.5%, 0%, 11%)
CIE-LABlab(47.48, 41.85, -66.84)
CIE-LCHlch(47.48, 78.86, 302.05°)
OKLaboklab(56.46% 0.0459 -0.1916)
OKLCHoklch(56.46% 0.197 283.5)
XYZxyz(23.8724, 16.3871, 74.5633)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CE3 #D3E35C
analogous
#5C90E3 #6C5CE3 #AF5CE3
triadic
#6C5CE3 #E36C5C #5CE36C
tetradic
#6C5CE3 #E35C90 #D3E35C #5CE3AF
square
#6C5CE3 #E35C90 #D3E35C #5CE3AF
split-complementary
#6C5CE3 #E3AF5C #90E35C
monochromatic
#2D1DA8 #3D28DA #6C5CE3 #9B90EC #CAC4F5

Accessibility & contrast

On white

4.91
#6C5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6C5CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CE3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CE3#FFFFFF#000000##FFFFFF
##6C5CE31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#3A7C97
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6c5ce3;
/* rgb */ color: rgb(108, 92, 227);
/* oklch */ color: oklch(56.5% 0.197 283.5);
Tailwind
colors: {
  custom: {
    50: '#9f8bed',
    500: '#6c5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ce3;
$custom-light: #9f8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ce3",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 247.111,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.197,
    "h": 283.5
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#6C5CE3
secondary
#E0E6B5
accent
#D313BC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6C5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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