#6C5CF5#6C5CF5

#6C5CF5 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.8% C 0.220 H 281.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6C5CF5
RGBrgb(108, 92, 245)
HSLhsl(246, 88%, 66%)
HSVhsv(246, 62%, 96%)
CMYKcmyk(55.9%, 62.4%, 0%, 3.9%)
CIE-LABlab(48.80, 47.28, -74.81)
CIE-LCHlch(48.80, 88.49, 302.29°)
OKLaboklab(57.84% 0.0449 -0.215)
OKLCHoklch(57.84% 0.22 281.8)
XYZxyz(26.4878, 17.4333, 88.3377)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CF5 #E5F55C
analogous
#5C98F5 #6C5CF5 #B95CF5
triadic
#6C5CF5 #F56C5C #5CF56C
tetradic
#6C5CF5 #F55C98 #E5F55C #5CF5B9
square
#6C5CF5 #F55C98 #E5F55C #5CF5B9
split-complementary
#6C5CF5 #F5B95C #98F55C
monochromatic
#200CCA #3822F1 #6C5CF5 #A096F9 #D4CFFC

Accessibility & contrast

On white

4.68
#6C5CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#6C5CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CF5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CF5#FFFFFF#000000##FFFFFF
##6C5CF51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#006EF2
Tritanopia (blue-blind)
#2382A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6c5cf5;
/* rgb */ color: rgb(108, 92, 245);
/* oklch */ color: oklch(57.8% 0.220 281.8);
Tailwind
colors: {
  custom: {
    50: '#a28bf9',
    500: '#6c5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #6c5cf5;
$custom-light: #a28bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5cf5",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 246.275,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57842,
    "c": 0.21963,
    "h": 281.8
  },
  "luminance": 0.17435
}

Semantic roles & 50–950 ramp

primary
#6C5CF5
secondary
#EAF0BD
accent
#E500CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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