#6C5DE7#6C5DE7

#6C5DE7 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.9% C 0.201 H 282.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6C5DE7
RGBrgb(108, 93, 231)
HSLhsl(247, 74%, 64%)
HSVhsv(247, 60%, 91%)
CMYKcmyk(53.2%, 59.7%, 0%, 9.4%)
CIE-LABlab(47.99, 42.48, -68.27)
CIE-LCHlch(47.99, 80.41, 301.89°)
OKLaboklab(56.92% 0.0448 -0.1958)
OKLCHoklch(56.92% 0.201 282.9)
XYZxyz(24.5181, 16.7849, 77.5337)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5DE7 #D8E75D
analogous
#5D93E7 #6C5DE7 #B15DE7
triadic
#6C5DE7 #E76C5D #5DE76C
tetradic
#6C5DE7 #E75D93 #D8E75D #5DE7B1
square
#6C5DE7 #E75D93 #D8E75D #5DE7B1
split-complementary
#6C5DE7 #E7B15D #93E75D
monochromatic
#2A1AB0 #3C28DF #6C5DE7 #9C92EF #CDC8F7

Accessibility & contrast

On white

4.82
#6C5DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6C5DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5DE7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5DE7#FFFFFF#000000##FFFFFF
##6C5DE71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#367E99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c5de7;
/* rgb */ color: rgb(108, 93, 231);
/* oklch */ color: oklch(56.9% 0.201 282.9);
Tailwind
colors: {
  custom: {
    50: '#a08bf0',
    500: '#6c5de7',
    950: '#000000',
  },
}
SCSS
$custom: #6c5de7;
$custom-light: #a08bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5de7",
  "rgb": {
    "r": 108,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 246.522,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56923,
    "c": 0.20083,
    "h": 282.9
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#6C5DE7
secondary
#E3E8B7
accent
#D60FC1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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