#6C5FF2#6C5FF2

#6C5FF2 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.1% C 0.212 H 281.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6C5FF2
RGBrgb(108, 95, 242)
HSLhsl(245, 85%, 66%)
HSVhsv(245, 61%, 95%)
CMYKcmyk(55.4%, 60.7%, 0%, 5.1%)
CIE-LABlab(49.23, 44.65, -72.43)
CIE-LCHlch(49.23, 85.09, 301.65°)
OKLaboklab(58.09% 0.0423 -0.208)
OKLCHoklch(58.09% 0.212 281.5)
XYZxyz(26.2986, 17.7817, 86.0336)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5FF2 #E5F25F
analogous
#5F9BF2 #6C5FF2 #B55FF2
triadic
#6C5FF2 #F26C5F #5FF26C
tetradic
#6C5FF2 #F25F9B #E5F25F #5FF2B5
square
#6C5FF2 #F25F9B #E5F25F #5FF2B5
split-complementary
#6C5FF2 #F2B55F #9BF25F
monochromatic
#2010C6 #3826ED #6C5FF2 #A098F7 #D4D0FB

Accessibility & contrast

On white

4.61
#6C5FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6C5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5FF2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5FF2#FFFFFF#000000##FFFFFF
##6C5FF21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#2883A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c5ff2;
/* rgb */ color: rgb(108, 95, 242);
/* oklch */ color: oklch(58.1% 0.212 281.5);
Tailwind
colors: {
  custom: {
    50: '#a18df7',
    500: '#6c5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ff2;
$custom-light: #a18df7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ff2",
  "rgb": {
    "r": 108,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 245.306,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58085,
    "c": 0.21226,
    "h": 281.5
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#6C5FF2
secondary
#EAEFBE
accent
#E104CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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