#6C5DF6#6C5DF6

#6C5DF6 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.1% C 0.220 H 281.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6C5DF6
RGBrgb(108, 93, 246)
HSLhsl(246, 89%, 66%)
HSVhsv(246, 62%, 96%)
CMYKcmyk(56.1%, 62.2%, 0%, 3.5%)
CIE-LABlab(49.09, 47.01, -74.89)
CIE-LCHlch(49.09, 88.42, 302.12°)
OKLaboklab(58.08% 0.0439 -0.2152)
OKLCHoklch(58.08% 0.22 281.5)
XYZxyz(26.7281, 17.6689, 89.1729)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5DF6 #E7F65D
analogous
#5D9BF6 #6C5DF6 #B95DF6
triadic
#6C5DF6 #F66C5D #5DF66C
tetradic
#6C5DF6 #F65D9B #E7F65D #5DF6B9
square
#6C5DF6 #F65D9B #E7F65D #5DF6B9
split-complementary
#6C5DF6 #F6B95D #9BF65D
monochromatic
#1E0BCD #3723F3 #6C5DF6 #A197F9 #D5D1FC

Accessibility & contrast

On white

4.63
#6C5DF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6C5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5DF6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5DF6#FFFFFF#000000##FFFFFF
##6C5DF61.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#2183A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c5df6;
/* rgb */ color: rgb(108, 93, 246);
/* oklch */ color: oklch(58.1% 0.220 281.5);
Tailwind
colors: {
  custom: {
    50: '#a28cfa',
    500: '#6c5df6',
    950: '#000000',
  },
}
SCSS
$custom: #6c5df6;
$custom-light: #a28cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5df6",
  "rgb": {
    "r": 108,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 245.882,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.21967,
    "h": 281.5
  },
  "luminance": 0.17671
}

Semantic roles & 50–950 ramp

primary
#6C5DF6
secondary
#EBF0BF
accent
#E600CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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