#6C5FFE#6C5FFE

#6C5FFE is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 59.0% C 0.227 H 280.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6C5FFE
RGBrgb(108, 95, 254)
HSLhsl(245, 99%, 68%)
HSVhsv(245, 63%, 100%)
CMYKcmyk(57.5%, 62.6%, 0%, 0.4%)
CIE-LABlab(50.13, 48.29, -77.66)
CIE-LCHlch(50.13, 91.45, 301.87°)
OKLaboklab(59.02% 0.0415 -0.2233)
OKLCHoklch(59.02% 0.227 280.5)
XYZxyz(28.1603, 18.5264, 95.8387)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5FFE #F1FE5F
analogous
#5FA1FE #6C5FFE #BC5FFE
triadic
#6C5FFE #FE6C5F #5FFE6C
tetradic
#6C5FFE #FE5FA1 #F1FE5F #5FFEBC
square
#6C5FFE #FE5FA1 #F1FE5F #5FFEBC
split-complementary
#6C5FFE #FEBC5F #A1FE5F
monochromatic
#1401E1 #3422FE #6C5FFE #A49CFE #DCD9FF

Accessibility & contrast

On white

4.46
#6C5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6C5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C5FFE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5FFE#FFFFFF#000000##000000
##6C5FFE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0071FB
Tritanopia (blue-blind)
#0887A6
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6c5ffe;
/* rgb */ color: rgb(108, 95, 254);
/* oklch */ color: oklch(59.0% 0.227 280.5);
Tailwind
colors: {
  custom: {
    50: '#a38dff',
    500: '#6c5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ffe;
$custom-light: #a38dff;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ffe",
  "rgb": {
    "r": 108,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 244.906,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.22717,
    "h": 280.5
  },
  "luminance": 0.18528
}

Semantic roles & 50–950 ramp

primary
#6C5FFE
secondary
#F0F4C4
accent
#E600D3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6C5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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