#6C5BE2#6C5BE2

#6C5BE2 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.2% C 0.197 H 283.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6C5BE2
RGBrgb(108, 91, 226)
HSLhsl(248, 70%, 62%)
HSVhsv(248, 60%, 89%)
CMYKcmyk(52.2%, 59.7%, 0%, 11.4%)
CIE-LABlab(47.18, 42.14, -66.75)
CIE-LCHlch(47.18, 78.94, 302.26°)
OKLaboklab(56.22% 0.047 -0.1913)
OKLCHoklch(56.22% 0.197 283.8)
XYZxyz(23.6487, 16.1600, 73.8098)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5BE2 #D1E25B
analogous
#5B8DE2 #6C5BE2 #B05BE2
triadic
#6C5BE2 #E26C5B #5BE26C
tetradic
#6C5BE2 #E25B8D #D1E25B #5BE2B0
square
#6C5BE2 #E25B8D #D1E25B #5BE2B0
split-complementary
#6C5BE2 #E2B05B #8DE25B
monochromatic
#2E1DA5 #3D27D9 #6C5BE2 #9B8FEB #C9C3F4

Accessibility & contrast

On white

4.96
#6C5BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6C5BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5BE2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5BE2#FFFFFF#000000##FFFFFF
##6C5BE21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#3B7B96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6c5be2;
/* rgb */ color: rgb(108, 91, 226);
/* oklch */ color: oklch(56.2% 0.197 283.8);
Tailwind
colors: {
  custom: {
    50: '#9f8aec',
    500: '#6c5be2',
    950: '#000000',
  },
}
SCSS
$custom: #6c5be2;
$custom-light: #9f8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5be2",
  "rgb": {
    "r": 108,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 247.556,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.197,
    "h": 283.8
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#6C5BE2
secondary
#DFE5B4
accent
#D214BA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6C5BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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