#6C5FFA#6C5FFA

#6C5FFA is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.7% C 0.222 H 280.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6C5FFA
RGBrgb(108, 95, 250)
HSLhsl(245, 94%, 68%)
HSVhsv(245, 62%, 98%)
CMYKcmyk(56.8%, 62%, 0%, 2%)
CIE-LABlab(49.83, 47.08, -75.93)
CIE-LCHlch(49.83, 89.34, 301.80°)
OKLaboklab(58.71% 0.0418 -0.2183)
OKLCHoklch(58.71% 0.222 280.8)
XYZxyz(27.5265, 18.2728, 92.5004)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5FFA #EDFA5F
analogous
#5FA0FA #6C5FFA #B95FFA
triadic
#6C5FFA #FA6C5F #5FFA6C
tetradic
#6C5FFA #FA5FA0 #EDFA5F #5FFAB9
square
#6C5FFA #FA5FA0 #EDFA5F #5FFAB9
split-complementary
#6C5FFA #FAB95F #A0FA5F
monochromatic
#1807D8 #3524F8 #6C5FFA #A39AFC #D9D6FE

Accessibility & contrast

On white

4.51
#6C5FFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6C5FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C5FFA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5FFA#FFFFFF#000000##000000
##6C5FFA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0071F7
Tritanopia (blue-blind)
#1785A4
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6c5ffa;
/* rgb */ color: rgb(108, 95, 250);
/* oklch */ color: oklch(58.7% 0.222 280.8);
Tailwind
colors: {
  custom: {
    50: '#a28dfd',
    500: '#6c5ffa',
    950: '#000000',
  },
}
SCSS
$custom: #6c5ffa;
$custom-light: #a28dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5ffa",
  "rgb": {
    "r": 108,
    "g": 95,
    "b": 250
  },
  "hsl": {
    "h": 245.032,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.22224,
    "h": 280.8
  },
  "luminance": 0.18275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C5FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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