#6C5CE1#6C5CE1

#6C5CE1 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.3% C 0.194 H 283.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6C5CE1
RGBrgb(108, 92, 225)
HSLhsl(247, 69%, 62%)
HSVhsv(247, 59%, 88%)
CMYKcmyk(52%, 59.1%, 0%, 11.8%)
CIE-LABlab(47.34, 41.25, -65.94)
CIE-LCHlch(47.34, 77.78, 302.03°)
OKLaboklab(56.31% 0.046 -0.1889)
OKLCHoklch(56.31% 0.194 283.7)
XYZxyz(23.5980, 16.2774, 73.1180)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CE1 #D1E15C
analogous
#5C8FE1 #6C5CE1 #AF5CE1
triadic
#6C5CE1 #E16C5C #5CE16C
tetradic
#6C5CE1 #E15C8F #D1E15C #5CE1AF
square
#6C5CE1 #E15C8F #D1E15C #5CE1AF
split-complementary
#6C5CE1 #E1AF5C #8FE15C
monochromatic
#2E1EA4 #3D28D7 #6C5CE1 #9B90EB #C9C3F4

Accessibility & contrast

On white

4.93
#6C5CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6C5CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CE1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CE1#FFFFFF#000000##FFFFFF
##6C5CE11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#3C7B96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6c5ce1;
/* rgb */ color: rgb(108, 92, 225);
/* oklch */ color: oklch(56.3% 0.194 283.7);
Tailwind
colors: {
  custom: {
    50: '#9f8beb',
    500: '#6c5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ce1;
$custom-light: #9f8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ce1",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 247.218,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.19444,
    "h": 283.7
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#6C5CE1
secondary
#DFE5B4
accent
#D115BA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6C5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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