#6C5FEF#6C5FEF

#6C5FEF is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.9% C 0.208 H 281.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6C5FEF
RGBrgb(108, 95, 239)
HSLhsl(245, 82%, 65%)
HSVhsv(245, 60%, 94%)
CMYKcmyk(54.8%, 60.3%, 0%, 6.3%)
CIE-LABlab(49.01, 43.74, -71.11)
CIE-LCHlch(49.01, 83.48, 301.59°)
OKLaboklab(57.86% 0.0425 -0.2041)
OKLCHoklch(57.86% 0.208 281.8)
XYZxyz(25.8517, 17.6029, 83.6801)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5FEF #E2EF5F
analogous
#5F9AEF #6C5FEF #B45FEF
triadic
#6C5FEF #EF6C5F #5FEF6C
tetradic
#6C5FEF #EF5F9A #E2EF5F #5FEFB4
square
#6C5FEF #EF5F9A #E2EF5F #5FEFB4
split-complementary
#6C5FEF #EFB45F #9AEF5F
monochromatic
#2313C0 #3927E9 #6C5FEF #9F97F5 #D2CEFA

Accessibility & contrast

On white

4.64
#6C5FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6C5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5FEF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5FEF#FFFFFF#000000##FFFFFF
##6C5FEF1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#2C829E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6c5fef;
/* rgb */ color: rgb(108, 95, 239);
/* oklch */ color: oklch(57.9% 0.208 281.8);
Tailwind
colors: {
  custom: {
    50: '#a18df5',
    500: '#6c5fef',
    950: '#000000',
  },
}
SCSS
$custom: #6c5fef;
$custom-light: #a18df5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5fef",
  "rgb": {
    "r": 108,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 245.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57856,
    "c": 0.20848,
    "h": 281.8
  },
  "luminance": 0.17605
}

Semantic roles & 50–950 ramp

primary
#6C5FEF
secondary
#E9EDBD
accent
#DE07CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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