#6C5FEE#6C5FEE

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

Color values

HEX#6C5FEE
RGBrgb(108, 95, 238)
HSLhsl(245, 81%, 65%)
HSVhsv(245, 60%, 93%)
CMYKcmyk(54.6%, 60.1%, 0%, 6.7%)
CIE-LABlab(48.94, 43.43, -70.67)
CIE-LCHlch(48.94, 82.95, 301.58°)
OKLaboklab(57.78% 0.0425 -0.2028)
OKLCHoklch(57.78% 0.207 281.8)
XYZxyz(25.7044, 17.5440, 82.9042)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5FEE #E1EE5F
analogous
#5F99EE #6C5FEE #B45FEE
triadic
#6C5FEE #EE6C5F #5FEE6C
tetradic
#6C5FEE #EE5F99 #E1EE5F #5FEEB4
square
#6C5FEE #EE5F99 #E1EE5F #5FEEB4
split-complementary
#6C5FEE #EEB45F #99EE5F
monochromatic
#2414BE #3928E8 #6C5FEE #9F96F4 #D2CEFA

Accessibility & contrast

On white

4.66
#6C5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6C5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5FEE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5FEE#FFFFFF#000000##FFFFFF
##6C5FEE1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#2D819E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6c5fee;
/* rgb */ color: rgb(108, 95, 238);
/* oklch */ color: oklch(57.8% 0.207 281.8);
Tailwind
colors: {
  custom: {
    50: '#a18df4',
    500: '#6c5fee',
    950: '#000000',
  },
}
SCSS
$custom: #6c5fee;
$custom-light: #a18df4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5fee",
  "rgb": {
    "r": 108,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 245.455,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.20722,
    "h": 281.8
  },
  "luminance": 0.17546
}

Semantic roles & 50–950 ramp

primary
#6C5FEE
secondary
#E8ECBC
accent
#DD08CA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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