#6D64D1#6D64D1

#6D64D1 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.162 H 283.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6D64D1
RGBrgb(109, 100, 209)
HSLhsl(245, 54%, 61%)
HSVhsv(245, 52%, 82%)
CMYKcmyk(47.8%, 52.2%, 0%, 18%)
CIE-LABlab(48.22, 31.89, -55.41)
CIE-LCHlch(48.22, 63.93, 299.93°)
OKLaboklab(56.65% 0.0384 -0.1579)
OKLCHoklch(56.65% 0.162 283.7)
XYZxyz(22.3690, 16.9679, 62.4057)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D64D1 #C8D164
analogous
#6491D1 #6D64D1 #A364D1
triadic
#6D64D1 #D16D64 #64D16D
tetradic
#6D64D1 #D16491 #C8D164 #64D1A3
square
#6D64D1 #D16491 #C8D164 #64D1A3
split-complementary
#6D64D1 #D1A364 #91D164
monochromatic
#332B90 #4439BF #6D64D1 #9993DF #C6C2ED

Accessibility & contrast

On white

4.78
#6D64D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6D64D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D64D1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D64D1#FFFFFF#000000##FFFFFF
##6D64D11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E76D5
Deuteranopia (green-blind)
#276FCF
Tritanopia (blue-blind)
#4A7C91
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d64d1;
/* rgb */ color: rgb(109, 100, 209);
/* oklch */ color: oklch(56.6% 0.162 283.7);
Tailwind
colors: {
  custom: {
    50: '#9d90e0',
    500: '#6d64d1',
    950: '#000000',
  },
}
SCSS
$custom: #6d64d1;
$custom-light: #9d90e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d64d1",
  "rgb": {
    "r": 109,
    "g": 100,
    "b": 209
  },
  "hsl": {
    "h": 244.954,
    "s": 54.229,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.16247,
    "h": 283.7
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#6D64D1
secondary
#DADDB4
accent
#C224B5
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #6D64D1

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

Preview Lab → · Contrast checker → · Palette generator →

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