#6C64FE#6C64FE

#6C64FE is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 59.8% C 0.221 H 279.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6C64FE
RGBrgb(108, 100, 254)
HSLhsl(243, 99%, 69%)
HSVhsv(243, 61%, 100%)
CMYKcmyk(57.5%, 60.6%, 0%, 0.4%)
CIE-LABlab(51.22, 45.42, -75.88)
CIE-LCHlch(51.22, 88.44, 300.90°)
OKLaboklab(59.82% 0.0371 -0.2181)
OKLCHoklch(59.82% 0.221 279.7)
XYZxyz(28.6253, 19.4563, 95.9937)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C64FE #F6FE64
analogous
#64A9FE #6C64FE #B964FE
triadic
#6C64FE #FE6C64 #64FE6C
tetradic
#6C64FE #FE64A9 #F6FE64 #64FEB9
square
#6C64FE #FE64A9 #F6FE64 #64FEB9
split-complementary
#6C64FE #FEB964 #A9FE64
monochromatic
#0D01E6 #3227FE #6C64FE #A6A1FE #DFDEFF

Accessibility & contrast

On white

4.29
#6C64FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#6C64FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C64FE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C64FE#FFFFFF#000000##000000
##6C64FE1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0074FB
Tritanopia (blue-blind)
#048AA8
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c64fe;
/* rgb */ color: rgb(108, 100, 254);
/* oklch */ color: oklch(59.8% 0.221 279.7);
Tailwind
colors: {
  custom: {
    50: '#a391ff',
    500: '#6c64fe',
    950: '#000000',
  },
}
SCSS
$custom: #6c64fe;
$custom-light: #a391ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6c64fe",
  "rgb": {
    "r": 108,
    "g": 100,
    "b": 254
  },
  "hsl": {
    "h": 243.117,
    "s": 98.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.59818,
    "c": 0.22126,
    "h": 279.7
  },
  "luminance": 0.19458
}

Semantic roles & 50–950 ramp

primary
#6C64FE
secondary
#F3F5C9
accent
#E600DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100D18
muted
#7F7D86

Preview Lab

Preview with #6C64FE

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

Preview Lab → · Contrast checker → · Palette generator →

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