#6A64D6#6A64D6

#6A64D6 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.7% C 0.170 H 281.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6A64D6
RGBrgb(106, 100, 214)
HSLhsl(243, 58%, 62%)
HSVhsv(243, 53%, 84%)
CMYKcmyk(50.5%, 53.3%, 0%, 16.1%)
CIE-LABlab(48.30, 32.76, -58.14)
CIE-LCHlch(48.30, 66.74, 299.40°)
OKLaboklab(56.75% 0.035 -0.166)
OKLCHoklch(56.75% 0.17 281.9)
XYZxyz(22.6349, 17.0323, 65.7002)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A64D6 #D0D664
analogous
#6497D6 #6A64D6 #A364D6
triadic
#6A64D6 #D66A64 #64D66A
tetradic
#6A64D6 #D66497 #D0D664 #64D6A3
square
#6A64D6 #D66497 #D0D664 #64D6A3
split-complementary
#6A64D6 #D6A364 #97D664
monochromatic
#2E2898 #3D35C8 #6A64D6 #9994E3 #C7C5F0

Accessibility & contrast

On white

4.77
#6A64D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6A64D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A64D6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A64D6#FFFFFF#000000##FFFFFF
##6A64D61.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2577DA
Deuteranopia (green-blind)
#186FD4
Tritanopia (blue-blind)
#407D93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a64d6;
/* rgb */ color: rgb(106, 100, 214);
/* oklch */ color: oklch(56.7% 0.170 281.9);
Tailwind
colors: {
  custom: {
    50: '#9c90e3',
    500: '#6a64d6',
    950: '#000000',
  },
}
SCSS
$custom: #6a64d6;
$custom-light: #9c90e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a64d6",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 214
  },
  "hsl": {
    "h": 243.158,
    "s": 58.163,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.16965,
    "h": 281.9
  },
  "luminance": 0.17034
}

Semantic roles & 50–950 ramp

primary
#6A64D6
secondary
#DEE0B6
accent
#C620BD
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C15
muted
#7F7D84

Preview Lab

Preview with #6A64D6

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

Preview Lab → · Contrast checker → · Palette generator →

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