#6C54E7#6C54E7

#6C54E7 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.5% C 0.212 H 284.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6C54E7
RGBrgb(108, 84, 231)
HSLhsl(250, 75%, 62%)
HSVhsv(250, 64%, 91%)
CMYKcmyk(53.2%, 63.6%, 0%, 9.4%)
CIE-LABlab(46.04, 47.63, -71.44)
CIE-LCHlch(46.04, 85.86, 303.69°)
OKLaboklab(55.5% 0.0534 -0.2051)
OKLCHoklch(55.5% 0.212 284.6)
XYZxyz(23.7741, 15.2970, 77.2857)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C54E7 #CFE754
analogous
#5486E7 #6C54E7 #B654E7
triadic
#6C54E7 #E76C54 #54E76C
tetradic
#6C54E7 #E75486 #CFE754 #54E7B6
square
#6C54E7 #E75486 #CFE754 #54E7B6
split-complementary
#6C54E7 #E7B654 #86E754
monochromatic
#2F18A9 #3E1FDF #6C54E7 #9A8AEF #C8BFF6

Accessibility & contrast

On white

5.17
#6C54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6C54E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C54E7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C54E7#FFFFFF#000000##FFFFFF
##6C54E71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#377896
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6c54e7;
/* rgb */ color: rgb(108, 84, 231);
/* oklch */ color: oklch(55.5% 0.212 284.6);
Tailwind
colors: {
  custom: {
    50: '#a085f0',
    500: '#6c54e7',
    950: '#000000',
  },
}
SCSS
$custom: #6c54e7;
$custom-light: #a085f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c54e7",
  "rgb": {
    "r": 108,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 249.796,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.555,
    "c": 0.21196,
    "h": 284.6
  },
  "luminance": 0.15298
}

Semantic roles & 50–950 ramp

primary
#6C54E7
secondary
#DEE7B0
accent
#D80EB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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