#6C5EFA#6C5EFA

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

Color values

HEX#6C5EFA
RGBrgb(108, 94, 250)
HSLhsl(245, 94%, 67%)
HSVhsv(245, 62%, 98%)
CMYKcmyk(56.8%, 62.4%, 0%, 2%)
CIE-LABlab(49.61, 47.65, -76.28)
CIE-LCHlch(49.61, 89.94, 301.99°)
OKLaboklab(58.55% 0.0427 -0.2193)
OKLCHoklch(58.55% 0.223 281)
XYZxyz(27.4370, 18.0938, 92.4706)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5EFA #ECFA5E
analogous
#5E9EFA #6C5EFA #BA5EFA
triadic
#6C5EFA #FA6C5E #5EFA6C
tetradic
#6C5EFA #FA5E9E #ECFA5E #5EFABA
square
#6C5EFA #FA5E9E #ECFA5E #5EFABA
split-complementary
#6C5EFA #FABA5E #9EFA5E
monochromatic
#1907D7 #3623F8 #6C5EFA #A299FC #D8D5FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C5EFA#FFFFFF#000000##000000
##6C5EFA1.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)
#007CFF
Deuteranopia (green-blind)
#0070F7
Tritanopia (blue-blind)
#1785A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6c5efa;
/* rgb */ color: rgb(108, 94, 250);
/* oklch */ color: oklch(58.6% 0.223 281.0);
Tailwind
colors: {
  custom: {
    50: '#a28cfd',
    500: '#6c5efa',
    950: '#000000',
  },
}
SCSS
$custom: #6c5efa;
$custom-light: #a28cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5efa",
  "rgb": {
    "r": 108,
    "g": 94,
    "b": 250
  },
  "hsl": {
    "h": 245.385,
    "s": 93.976,
    "l": 67.451
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.22342,
    "h": 281
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

primary
#6C5EFA
secondary
#EEF2C1
accent
#E600D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6C5EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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