#6C5AE7#6C5AE7

#6C5AE7 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.4% C 0.205 H 283.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6C5AE7
RGBrgb(108, 90, 231)
HSLhsl(248, 75%, 63%)
HSVhsv(248, 61%, 91%)
CMYKcmyk(53.2%, 61%, 0%, 9.4%)
CIE-LABlab(47.32, 44.21, -69.35)
CIE-LCHlch(47.32, 82.25, 302.52°)
OKLaboklab(56.44% 0.0477 -0.199)
OKLCHoklch(56.44% 0.205 283.5)
XYZxyz(24.2599, 16.2686, 77.4476)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AE7 #D5E75A
analogous
#5A8EE7 #6C5AE7 #B35AE7
triadic
#6C5AE7 #E76C5A #5AE76C
tetradic
#6C5AE7 #E75A8E #D5E75A #5AE7B3
square
#6C5AE7 #E75A8E #D5E75A #5AE7B3
split-complementary
#6C5AE7 #E7B35A #8EE75A
monochromatic
#2C19AD #3C25DF #6C5AE7 #9C8FEF #CBC5F7

Accessibility & contrast

On white

4.94
#6C5AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#6C5AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5AE7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5AE7#FFFFFF#000000##FFFFFF
##6C5AE71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#377C98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6c5ae7;
/* rgb */ color: rgb(108, 90, 231);
/* oklch */ color: oklch(56.4% 0.205 283.5);
Tailwind
colors: {
  custom: {
    50: '#a089f0',
    500: '#6c5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ae7;
$custom-light: #a089f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ae7",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 247.66,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56438,
    "c": 0.2046,
    "h": 283.5
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#6C5AE7
secondary
#E1E8B5
accent
#D70FBD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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