#6C5DFA#6C5DFA

#6C5DFA is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.4% C 0.225 H 281.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#6C5DFA
RGBrgb(108, 93, 250)
HSLhsl(246, 94%, 67%)
HSVhsv(246, 63%, 98%)
CMYKcmyk(56.8%, 62.8%, 0%, 2%)
CIE-LABlab(49.40, 48.22, -76.63)
CIE-LCHlch(49.40, 90.53, 302.18°)
OKLaboklab(58.39% 0.0436 -0.2203)
OKLCHoklch(58.39% 0.225 281.2)
XYZxyz(27.3486, 17.9172, 92.4412)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5DFA #EBFA5D
analogous
#5D9DFA #6C5DFA #BA5DFA
triadic
#6C5DFA #FA6C5D #5DFA6C
tetradic
#6C5DFA #FA5D9D #EBFA5D #5DFABA
square
#6C5DFA #FA5D9D #EBFA5D #5DFABA
split-complementary
#6C5DFA #FABA5D #9DFA5D
monochromatic
#1A07D6 #3622F8 #6C5DFA #A298FC #D8D4FE

Accessibility & contrast

On white

4.58
#6C5DFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6C5DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C5DFA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5DFA#FFFFFF#000000##000000
##6C5DFA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0070F7
Tritanopia (blue-blind)
#1884A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c5dfa;
/* rgb */ color: rgb(108, 93, 250);
/* oklch */ color: oklch(58.4% 0.225 281.2);
Tailwind
colors: {
  custom: {
    50: '#a28cfd',
    500: '#6c5dfa',
    950: '#000000',
  },
}
SCSS
$custom: #6c5dfa;
$custom-light: #a28cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5dfa",
  "rgb": {
    "r": 108,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 245.732,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.2246,
    "h": 281.2
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#6C5DFA
secondary
#EDF2C1
accent
#E600D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6C5DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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