#6D64D5#6D64D5

#6D64D5 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.9% C 0.168 H 283.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6D64D5
RGBrgb(109, 100, 213)
HSLhsl(245, 57%, 61%)
HSVhsv(245, 53%, 84%)
CMYKcmyk(48.8%, 53.1%, 0%, 16.5%)
CIE-LABlab(48.47, 33.10, -57.28)
CIE-LCHlch(48.47, 66.16, 300.02°)
OKLaboklab(56.91% 0.0386 -0.1634)
OKLCHoklch(56.91% 0.168 283.3)
XYZxyz(22.8705, 17.1685, 65.0466)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D64D5 #CCD564
analogous
#6494D5 #6D64D5 #A664D5
triadic
#6D64D5 #D56D64 #64D56D
tetradic
#6D64D5 #D56494 #CCD564 #64D5A6
square
#6D64D5 #D56494 #CCD564 #64D5A6
split-complementary
#6D64D5 #D5A664 #94D564
monochromatic
#312996 #4136C6 #6D64D5 #9A94E2 #C8C4EF

Accessibility & contrast

On white

4.74
#6D64D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6D64D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D64D5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D64D5#FFFFFF#000000##FFFFFF
##6D64D51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2877D9
Deuteranopia (green-blind)
#206FD3
Tritanopia (blue-blind)
#477D93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6d64d5;
/* rgb */ color: rgb(109, 100, 213);
/* oklch */ color: oklch(56.9% 0.168 283.3);
Tailwind
colors: {
  custom: {
    50: '#9e90e3',
    500: '#6d64d5',
    950: '#000000',
  },
}
SCSS
$custom: #6d64d5;
$custom-light: #9e90e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d64d5",
  "rgb": {
    "r": 109,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 244.779,
    "s": 57.36,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.16789,
    "h": 283.3
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#6D64D5
secondary
#DCE0B5
accent
#C521B8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #6D64D5

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

Preview Lab → · Contrast checker → · Palette generator →

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