#6C5FDA#6C5FDA

#6C5FDA is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.3% C 0.181 H 283.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6C5FDA
RGBrgb(108, 95, 218)
HSLhsl(246, 62%, 61%)
HSVhsv(246, 56%, 85%)
CMYKcmyk(50.5%, 56.4%, 0%, 14.5%)
CIE-LABlab(47.54, 37.38, -61.64)
CIE-LCHlch(47.54, 72.09, 301.23°)
OKLaboklab(56.31% 0.043 -0.1763)
OKLCHoklch(56.31% 0.181 283.7)
XYZxyz(22.9276, 16.4333, 68.2799)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5FDA #CDDA5F
analogous
#5F90DA #6C5FDA #AA5FDA
triadic
#6C5FDA #DA6C5F #5FDA6C
tetradic
#6C5FDA #DA5F90 #CDDA5F #5FDAAA
square
#6C5FDA #DA5F90 #CDDA5F #5FDAAA
split-complementary
#6C5FDA #DAAA5F #90DA5F
monochromatic
#30249B #402FCD #6C5FDA #9A91E5 #C7C2F1

Accessibility & contrast

On white

4.90
#6C5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6C5FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5FDA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5FDA#FFFFFF#000000##FFFFFF
##6C5FDA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#427B93
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6c5fda;
/* rgb */ color: rgb(108, 95, 218);
/* oklch */ color: oklch(56.3% 0.181 283.7);
Tailwind
colors: {
  custom: {
    50: '#9e8de6',
    500: '#6c5fda',
    950: '#000000',
  },
}
SCSS
$custom: #6c5fda;
$custom-light: #9e8de6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5fda",
  "rgb": {
    "r": 108,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 246.341,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56305,
    "c": 0.18142,
    "h": 283.7
  },
  "luminance": 0.16435
}

Semantic roles & 50–950 ramp

primary
#6C5FDA
secondary
#DDE1B3
accent
#CA1BB8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6C5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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