#6C5AE2#6C5AE2

#6C5AE2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 56.1% C 0.198 H 284.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6C5AE2
RGBrgb(108, 90, 226)
HSLhsl(248, 70%, 62%)
HSVhsv(248, 60%, 89%)
CMYKcmyk(52.2%, 60.2%, 0%, 11.4%)
CIE-LABlab(46.96, 42.72, -67.11)
CIE-LCHlch(46.96, 79.55, 302.48°)
OKLaboklab(56.06% 0.048 -0.1924)
OKLCHoklch(56.06% 0.198 284)
XYZxyz(23.5638, 15.9902, 73.7815)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AE2 #D0E25A
analogous
#5A8CE2 #6C5AE2 #B05AE2
triadic
#6C5AE2 #E26C5A #5AE26C
tetradic
#6C5AE2 #E25A8C #D0E25A #5AE2B0
square
#6C5AE2 #E25A8C #D0E25A #5AE2B0
split-complementary
#6C5AE2 #E2B05A #8CE25A
monochromatic
#2F1DA5 #3E26D9 #6C5AE2 #9A8EEB #C9C2F4

Accessibility & contrast

On white

5.00
#6C5AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6C5AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5AE2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5AE2#FFFFFF#000000##FFFFFF
##6C5AE21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#3C7A95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c5ae2;
/* rgb */ color: rgb(108, 90, 226);
/* oklch */ color: oklch(56.1% 0.198 284.0);
Tailwind
colors: {
  custom: {
    50: '#9f89ec',
    500: '#6c5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ae2;
$custom-light: #9f89ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ae2",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 247.941,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.19827,
    "h": 284
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

primary
#6C5AE2
secondary
#DEE5B3
accent
#D213B9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6C5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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