#6C5AFD#6C5AFD

#6C5AFD is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 58.2% C 0.232 H 281.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6C5AFD
RGBrgb(108, 90, 253)
HSLhsl(247, 98%, 67%)
HSVhsv(247, 64%, 99%)
CMYKcmyk(57.3%, 64.4%, 0%, 0.8%)
CIE-LABlab(49.00, 50.81, -78.95)
CIE-LCHlch(49.00, 93.88, 302.76°)
OKLaboklab(58.18% 0.0458 -0.2272)
OKLCHoklch(58.18% 0.232 281.4)
XYZxyz(27.5646, 17.5905, 94.8522)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AFD #EBFD5A
analogous
#5A99FD #6C5AFD #BE5AFD
triadic
#6C5AFD #FD6C5A #5AFD6C
tetradic
#6C5AFD #FD5A99 #EBFD5A #5AFDBE
square
#6C5AFD #FD5A99 #EBFD5A #5AFDBE
split-complementary
#6C5AFD #FDBE5A #99FD5A
monochromatic
#1A03DA #361EFC #6C5AFD #A296FE #D8D3FE

Accessibility & contrast

On white

4.65
#6C5AFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6C5AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5AFD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5AFD#FFFFFF#000000##FFFFFF
##6C5AFD1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#006EFA
Tritanopia (blue-blind)
#0F83A4
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6c5afd;
/* rgb */ color: rgb(108, 90, 253);
/* oklch */ color: oklch(58.2% 0.232 281.4);
Tailwind
colors: {
  custom: {
    50: '#a38aff',
    500: '#6c5afd',
    950: '#000000',
  },
}
SCSS
$custom: #6c5afd;
$custom-light: #a38aff;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5afd",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 246.626,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58175,
    "c": 0.23174,
    "h": 281.4
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#6C5AFD
secondary
#EDF3C0
accent
#E600CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6C5AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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