#6C5DE4#6C5DE4

#6C5DE4 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.7% C 0.197 H 283.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6C5DE4
RGBrgb(108, 93, 228)
HSLhsl(247, 71%, 63%)
HSVhsv(247, 59%, 89%)
CMYKcmyk(52.6%, 59.2%, 0%, 10.6%)
CIE-LABlab(47.77, 41.57, -66.93)
CIE-LCHlch(47.77, 78.79, 301.85°)
OKLaboklab(56.7% 0.0449 -0.1918)
OKLCHoklch(56.7% 0.197 283.2)
XYZxyz(24.0980, 16.6169, 75.3213)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5DE4 #D5E45D
analogous
#5D91E4 #6C5DE4 #B05DE4
triadic
#6C5DE4 #E46C5D #5DE46C
tetradic
#6C5DE4 #E45D91 #D5E45D #5DE4B0
square
#6C5DE4 #E45D91 #D5E45D #5DE4B0
split-complementary
#6C5DE4 #E4B05D #91E45D
monochromatic
#2C1CAA #3C29DB #6C5DE4 #9C91ED #CBC6F5

Accessibility & contrast

On white

4.86
#6C5DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6C5DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5DE4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5DE4#FFFFFF#000000##FFFFFF
##6C5DE41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#397D98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6c5de4;
/* rgb */ color: rgb(108, 93, 228);
/* oklch */ color: oklch(56.7% 0.197 283.2);
Tailwind
colors: {
  custom: {
    50: '#9f8bed',
    500: '#6c5de4',
    950: '#000000',
  },
}
SCSS
$custom: #6c5de4;
$custom-light: #9f8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5de4",
  "rgb": {
    "r": 108,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 246.667,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.197,
    "h": 283.2
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C5DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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