#6C5EF6#6C5EF6

#6C5EF6 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.2% C 0.218 H 281.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6C5EF6
RGBrgb(108, 94, 246)
HSLhsl(246, 89%, 67%)
HSVhsv(246, 62%, 96%)
CMYKcmyk(56.1%, 61.8%, 0%, 3.5%)
CIE-LABlab(49.31, 46.44, -74.54)
CIE-LCHlch(49.31, 87.82, 301.92°)
OKLaboklab(58.24% 0.043 -0.2142)
OKLCHoklch(58.24% 0.218 281.3)
XYZxyz(26.8164, 17.8456, 89.2024)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5EF6 #E8F65E
analogous
#5E9CF6 #6C5EF6 #B85EF6
triadic
#6C5EF6 #F66C5E #5EF66C
tetradic
#6C5EF6 #F65E9C #E8F65E #5EF6B8
square
#6C5EF6 #F65E9C #E8F65E #5EF6B8
split-complementary
#6C5EF6 #F6B85E #9CF65E
monochromatic
#1D0CCE #3724F3 #6C5EF6 #A198F9 #D6D2FC

Accessibility & contrast

On white

4.60
#6C5EF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6C5EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5EF6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5EF6#FFFFFF#000000##FFFFFF
##6C5EF61.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0070F3
Tritanopia (blue-blind)
#2183A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c5ef6;
/* rgb */ color: rgb(108, 94, 246);
/* oklch */ color: oklch(58.2% 0.218 281.3);
Tailwind
colors: {
  custom: {
    50: '#a28cfa',
    500: '#6c5ef6',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ef6;
$custom-light: #a28cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ef6",
  "rgb": {
    "r": 108,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 245.526,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58235,
    "c": 0.21847,
    "h": 281.3
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#6C5EF6
secondary
#ECF0BF
accent
#E600D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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