#6A64D7#6A64D7

#6A64D7 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.8% C 0.171 H 281.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6A64D7
RGBrgb(106, 100, 215)
HSLhsl(243, 59%, 62%)
HSVhsv(243, 53%, 84%)
CMYKcmyk(50.7%, 53.5%, 0%, 15.7%)
CIE-LABlab(48.37, 33.07, -58.61)
CIE-LCHlch(48.37, 67.29, 299.43°)
OKLaboklab(56.82% 0.0351 -0.1674)
OKLCHoklch(56.82% 0.171 281.8)
XYZxyz(22.7630, 17.0836, 66.3748)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A64D7 #D1D764
analogous
#6498D7 #6A64D7 #A364D7
triadic
#6A64D7 #D76A64 #64D76A
tetradic
#6A64D7 #D76498 #D1D764 #64D7A3
square
#6A64D7 #D76498 #D1D764 #64D7A3
split-complementary
#6A64D7 #D7A364 #98D764
monochromatic
#2D2899 #3C34CA #6A64D7 #9995E4 #C8C5F0

Accessibility & contrast

On white

4.75
#6A64D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6A64D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A64D7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A64D7#FFFFFF#000000##FFFFFF
##6A64D71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2377DB
Deuteranopia (green-blind)
#156FD5
Tritanopia (blue-blind)
#3F7E94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a64d7;
/* rgb */ color: rgb(106, 100, 215);
/* oklch */ color: oklch(56.8% 0.171 281.8);
Tailwind
colors: {
  custom: {
    50: '#9c90e4',
    500: '#6a64d7',
    950: '#000000',
  },
}
SCSS
$custom: #6a64d7;
$custom-light: #9c90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a64d7",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 243.13,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56817,
    "c": 0.171,
    "h": 281.8
  },
  "luminance": 0.17085
}

Semantic roles & 50–950 ramp

primary
#6A64D7
secondary
#DEE1B6
accent
#C71FBE
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6A64D7

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

Preview Lab → · Contrast checker → · Palette generator →

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