#6C5EF5#6C5EF5

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

Color values

HEX#6C5EF5
RGBrgb(108, 94, 245)
HSLhsl(246, 88%, 66%)
HSVhsv(246, 62%, 96%)
CMYKcmyk(55.9%, 61.6%, 0%, 3.9%)
CIE-LABlab(49.23, 46.13, -74.10)
CIE-LCHlch(49.23, 87.29, 301.90°)
OKLaboklab(58.16% 0.0431 -0.2129)
OKLCHoklch(58.16% 0.217 281.4)
XYZxyz(26.6633, 17.7844, 88.3962)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5EF5 #E7F55E
analogous
#5E9CF5 #6C5EF5 #B85EF5
triadic
#6C5EF5 #F56C5E #5EF56C
tetradic
#6C5EF5 #F55E9C #E7F55E #5EF5B8
square
#6C5EF5 #F55E9C #E7F55E #5EF5B8
split-complementary
#6C5EF5 #F5B85E #9CF55E
monochromatic
#1E0DCC #3724F1 #6C5EF5 #A198F9 #D5D1FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C5EF5#FFFFFF#000000##FFFFFF
##6C5EF51.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)
#007AFA
Deuteranopia (green-blind)
#0070F2
Tritanopia (blue-blind)
#2383A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c5ef5;
/* rgb */ color: rgb(108, 94, 245);
/* oklch */ color: oklch(58.2% 0.217 281.4);
Tailwind
colors: {
  custom: {
    50: '#a28cf9',
    500: '#6c5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ef5;
$custom-light: #a28cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ef5",
  "rgb": {
    "r": 108,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 245.563,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58157,
    "c": 0.21723,
    "h": 281.4
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#6C5EF5
secondary
#EBF0BF
accent
#E501D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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