#6C5EE4#6C5EE4

#6C5EE4 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.9% C 0.196 H 283.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6C5EE4
RGBrgb(108, 94, 228)
HSLhsl(246, 71%, 63%)
HSVhsv(246, 59%, 89%)
CMYKcmyk(52.6%, 58.8%, 0%, 10.6%)
CIE-LABlab(48.00, 40.99, -66.56)
CIE-LCHlch(48.00, 78.17, 301.62°)
OKLaboklab(56.86% 0.0439 -0.1907)
OKLCHoklch(56.86% 0.196 283)
XYZxyz(24.1864, 16.7936, 75.3508)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5EE4 #D6E45E
analogous
#5E93E4 #6C5EE4 #AF5EE4
triadic
#6C5EE4 #E46C5E #5EE46C
tetradic
#6C5EE4 #E45E93 #D6E45E #5EE4AF
square
#6C5EE4 #E45E93 #D6E45E #5EE4AF
split-complementary
#6C5EE4 #E4AF5E #93E45E
monochromatic
#2C1DAB #3C2ADB #6C5EE4 #9C92ED #CCC7F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C5EE4#FFFFFF#000000##FFFFFF
##6C5EE41.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)
#0076E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#397E98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c5ee4;
/* rgb */ color: rgb(108, 94, 228);
/* oklch */ color: oklch(56.9% 0.196 283.0);
Tailwind
colors: {
  custom: {
    50: '#9f8ced',
    500: '#6c5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ee4;
$custom-light: #9f8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ee4",
  "rgb": {
    "r": 108,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 246.269,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.19573,
    "h": 283
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#6C5EE4
secondary
#E2E7B7
accent
#D312BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6C5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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