#6D64C8#6D64C8

#6D64C8 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.1% C 0.150 H 284.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6D64C8
RGBrgb(109, 100, 200)
HSLhsl(245, 48%, 59%)
HSVhsv(245, 50%, 78%)
CMYKcmyk(45.5%, 50%, 0%, 21.6%)
CIE-LABlab(47.67, 29.21, -51.13)
CIE-LCHlch(47.67, 58.89, 299.73°)
OKLaboklab(56.06% 0.0377 -0.1453)
OKLCHoklch(56.06% 0.15 284.5)
XYZxyz(21.2861, 16.5347, 56.7023)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D64C8 #BFC864
analogous
#648DC8 #6D64C8 #9F64C8
triadic
#6D64C8 #C86D64 #64C86D
tetradic
#6D64C8 #C8648D #BFC864 #64C89F
square
#6D64C8 #C8648D #BFC864 #64C89F
split-complementary
#6D64C8 #C89F64 #8DC864
monochromatic
#362F83 #493FB0 #6D64C8 #9891D8 #C2BEE8

Accessibility & contrast

On white

4.88
#6D64C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6D64C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D64C8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D64C8#FFFFFF#000000##FFFFFF
##6D64C81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#346EC6
Tritanopia (blue-blind)
#4F798D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6d64c8;
/* rgb */ color: rgb(109, 100, 200);
/* oklch */ color: oklch(56.1% 0.150 284.5);
Tailwind
colors: {
  custom: {
    50: '#9c90d9',
    500: '#6d64c8',
    950: '#000000',
  },
}
SCSS
$custom: #6d64c8;
$custom-light: #9c90d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d64c8",
  "rgb": {
    "r": 109,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 245.4,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56055,
    "c": 0.15013,
    "h": 284.5
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#6D64C8
secondary
#D4D8B0
accent
#D751CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #6D64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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