#6A64CF#6A64CF

#6A64CF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.3% C 0.160 H 282.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6A64CF
RGBrgb(106, 100, 207)
HSLhsl(243, 53%, 60%)
HSVhsv(243, 52%, 81%)
CMYKcmyk(48.8%, 51.7%, 0%, 18.8%)
CIE-LABlab(47.86, 30.63, -54.86)
CIE-LCHlch(47.86, 62.83, 299.17°)
OKLaboklab(56.28% 0.0346 -0.1563)
OKLCHoklch(56.28% 0.16 282.5)
XYZxyz(21.7601, 16.6824, 61.0928)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A64CF #C9CF64
analogous
#6494CF #6A64CF #9F64CF
triadic
#6A64CF #CF6A64 #64CF6A
tetradic
#6A64CF #CF6494 #C9CF64 #64CF9F
square
#6A64CF #CF6494 #C9CF64 #64CF9F
split-complementary
#6A64CF #CF9F64 #94CF64
monochromatic
#312C8D #413ABC #6A64CF #9793DD #C4C1EC

Accessibility & contrast

On white

4.84
#6A64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6A64CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A64CF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A64CF#FFFFFF#000000##FFFFFF
##6A64CF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#276ECD
Tritanopia (blue-blind)
#457B90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a64cf;
/* rgb */ color: rgb(106, 100, 207);
/* oklch */ color: oklch(56.3% 0.160 282.5);
Tailwind
colors: {
  custom: {
    50: '#9b90de',
    500: '#6a64cf',
    950: '#000000',
  },
}
SCSS
$custom: #6a64cf;
$custom-light: #9b90de;
$custom-dark: #000000;
JSON
{
  "hex": "#6a64cf",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 243.364,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56275,
    "c": 0.16013,
    "h": 282.5
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#6A64CF
secondary
#DADCB3
accent
#C025B7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #6A64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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