#6C5BE3#6C5BE3

#6C5BE3 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.3% C 0.198 H 283.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6C5BE3
RGBrgb(108, 91, 227)
HSLhsl(248, 71%, 62%)
HSVhsv(248, 60%, 89%)
CMYKcmyk(52.4%, 59.9%, 0%, 11%)
CIE-LABlab(47.26, 42.44, -67.20)
CIE-LCHlch(47.26, 79.48, 302.27°)
OKLaboklab(56.29% 0.0469 -0.1926)
OKLCHoklch(56.29% 0.198 283.7)
XYZxyz(23.7864, 16.2150, 74.5346)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5BE3 #D2E35B
analogous
#5B8EE3 #6C5BE3 #B05BE3
triadic
#6C5BE3 #E36C5B #5BE36C
tetradic
#6C5BE3 #E35B8E #D2E35B #5BE3B0
square
#6C5BE3 #E35B8E #D2E35B #5BE3B0
split-complementary
#6C5BE3 #E3B05B #8EE35B
monochromatic
#2E1DA7 #3D27DA #6C5BE3 #9B8FEC #CAC4F5

Accessibility & contrast

On white

4.95
#6C5BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6C5BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5BE3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5BE3#FFFFFF#000000##FFFFFF
##6C5BE31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#3A7B96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6c5be3;
/* rgb */ color: rgb(108, 91, 227);
/* oklch */ color: oklch(56.3% 0.198 283.7);
Tailwind
colors: {
  custom: {
    50: '#9f8aed',
    500: '#6c5be3',
    950: '#000000',
  },
}
SCSS
$custom: #6c5be3;
$custom-light: #9f8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5be3",
  "rgb": {
    "r": 108,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 247.5,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56295,
    "c": 0.19827,
    "h": 283.7
  },
  "luminance": 0.16216
}

Semantic roles & 50–950 ramp

primary
#6C5BE3
secondary
#E0E6B4
accent
#D313BB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6C5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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