#6A64DC#6A64DC

#6A64DC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.178 H 281.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6A64DC
RGBrgb(106, 100, 220)
HSLhsl(243, 63%, 63%)
HSVhsv(243, 55%, 86%)
CMYKcmyk(51.8%, 54.5%, 0%, 13.7%)
CIE-LABlab(48.69, 34.60, -60.92)
CIE-LCHlch(48.69, 70.06, 299.59°)
OKLaboklab(57.16% 0.0352 -0.1742)
OKLCHoklch(57.16% 0.178 281.4)
XYZxyz(23.4153, 17.3445, 69.8103)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A64DC #D6DC64
analogous
#649ADC #6A64DC #A664DC
triadic
#6A64DC #DC6A64 #64DC6A
tetradic
#6A64DC #DC649A #D6DC64 #64DCA6
square
#6A64DC #DC649A #D6DC64 #64DCA6
split-complementary
#6A64DC #DCA664 #9ADC64
monochromatic
#2B24A1 #3A32D1 #6A64DC #9A96E7 #CAC8F3

Accessibility & contrast

On white

4.70
#6A64DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6A64DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A64DC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A64DC#FFFFFF#000000##FFFFFF
##6A64DC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1978E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#3B7F96
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a64dc;
/* rgb */ color: rgb(106, 100, 220);
/* oklch */ color: oklch(57.2% 0.178 281.4);
Tailwind
colors: {
  custom: {
    50: '#9d90e8',
    500: '#6a64dc',
    950: '#000000',
  },
}
SCSS
$custom: #6a64dc;
$custom-light: #9d90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a64dc",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 243,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.17771,
    "h": 281.4
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#6A64DC
secondary
#E1E4B8
accent
#CB1BC2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6A64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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