#6C5AEB#6C5AEB

#6C5AEB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.7% C 0.210 H 283.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6C5AEB
RGBrgb(108, 90, 235)
HSLhsl(247, 78%, 64%)
HSVhsv(247, 62%, 92%)
CMYKcmyk(54%, 61.7%, 0%, 7.8%)
CIE-LABlab(47.62, 45.41, -71.12)
CIE-LCHlch(47.62, 84.39, 302.56°)
OKLaboklab(56.75% 0.0474 -0.2042)
OKLCHoklch(56.75% 0.21 283.1)
XYZxyz(24.8313, 16.4972, 80.4570)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AEB #D9EB5A
analogous
#5A90EB #6C5AEB #B45AEB
triadic
#6C5AEB #EB6C5A #5AEB6C
tetradic
#6C5AEB #EB5A90 #D9EB5A #5AEBB4
square
#6C5AEB #EB5A90 #D9EB5A #5AEBB4
split-complementary
#6C5AEB #EBB45A #90EB5A
monochromatic
#2A16B5 #3B23E4 #6C5AEB #9D91F2 #CDC7F8

Accessibility & contrast

On white

4.88
#6C5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6C5AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5AEB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5AEB#FFFFFF#000000##FFFFFF
##6C5AEB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#327D9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6c5aeb;
/* rgb */ color: rgb(108, 90, 235);
/* oklch */ color: oklch(56.7% 0.210 283.1);
Tailwind
colors: {
  custom: {
    50: '#a189f2',
    500: '#6c5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #6c5aeb;
$custom-light: #a189f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5aeb",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 247.448,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.20962,
    "h": 283.1
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#6C5AEB
secondary
#E4EAB7
accent
#DB0BC1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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