#6C5BEC#6C5BEC

#6C5BEC is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.0% C 0.210 H 282.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6C5BEC
RGBrgb(108, 91, 236)
HSLhsl(247, 79%, 64%)
HSVhsv(247, 61%, 93%)
CMYKcmyk(54.2%, 61.4%, 0%, 7.5%)
CIE-LABlab(47.91, 45.14, -71.21)
CIE-LCHlch(47.91, 84.31, 302.37°)
OKLaboklab(56.98% 0.0464 -0.2044)
OKLCHoklch(56.98% 0.21 282.8)
XYZxyz(25.0611, 16.7249, 81.2483)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5BEC #DBEC5B
analogous
#5B93EC #6C5BEC #B45BEC
triadic
#6C5BEC #EC6C5B #5BEC6C
tetradic
#6C5BEC #EC5B93 #DBEC5B #5BECB4
square
#6C5BEC #EC5B93 #DBEC5B #5BECB4
split-complementary
#6C5BEC #ECB45B #93EC5B
monochromatic
#2815B7 #3B24E6 #6C5BEC #9D92F2 #CEC9F9

Accessibility & contrast

On white

4.83
#6C5BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6C5BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5BEC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5BEC#FFFFFF#000000##FFFFFF
##6C5BEC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#317E9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c5bec;
/* rgb */ color: rgb(108, 91, 236);
/* oklch */ color: oklch(57.0% 0.210 282.8);
Tailwind
colors: {
  custom: {
    50: '#a18af3',
    500: '#6c5bec',
    950: '#000000',
  },
}
SCSS
$custom: #6c5bec;
$custom-light: #a18af3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5bec",
  "rgb": {
    "r": 108,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 247.034,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56982,
    "c": 0.20963,
    "h": 282.8
  },
  "luminance": 0.16726
}

Semantic roles & 50–950 ramp

primary
#6C5BEC
secondary
#E5EBB8
accent
#DC0AC3
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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