#6C5FF7#6C5FF7

#6C5FF7 is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 58.5% C 0.219 H 281.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6C5FF7
RGBrgb(108, 95, 247)
HSLhsl(245, 90%, 67%)
HSVhsv(245, 62%, 97%)
CMYKcmyk(56.3%, 61.5%, 0%, 3.1%)
CIE-LABlab(49.60, 46.17, -74.62)
CIE-LCHlch(49.60, 87.75, 301.74°)
OKLaboklab(58.47% 0.042 -0.2144)
OKLCHoklch(58.47% 0.219 281.1)
XYZxyz(27.0598, 18.0862, 90.0427)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5FF7 #EAF75F
analogous
#5F9EF7 #6C5FF7 #B85FF7
triadic
#6C5FF7 #F76C5F #5FF76C
tetradic
#6C5FF7 #F75F9E #EAF75F #5FF7B8
square
#6C5FF7 #F75F9E #EAF75F #5FF7B8
split-complementary
#6C5FF7 #F7B85F #9EF75F
monochromatic
#1B0AD1 #3625F4 #6C5FF7 #A299FA #D7D4FD

Accessibility & contrast

On white

4.55
#6C5FF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6C5FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C5FF7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5FF7#FFFFFF#000000##000000
##6C5FF71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFC
Deuteranopia (green-blind)
#0070F4
Tritanopia (blue-blind)
#1E84A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6c5ff7;
/* rgb */ color: rgb(108, 95, 247);
/* oklch */ color: oklch(58.5% 0.219 281.1);
Tailwind
colors: {
  custom: {
    50: '#a28dfb',
    500: '#6c5ff7',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ff7;
$custom-light: #a28dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ff7",
  "rgb": {
    "r": 108,
    "g": 95,
    "b": 247
  },
  "hsl": {
    "h": 245.132,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.21852,
    "h": 281.1
  },
  "luminance": 0.18088
}

Semantic roles & 50–950 ramp

primary
#6C5FF7
secondary
#EDF1C1
accent
#E600D2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6C5FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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