#6D64C2#6D64C2

#6D64C2 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.7% C 0.142 H 285.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6D64C2
RGBrgb(109, 100, 194)
HSLhsl(246, 44%, 58%)
HSVhsv(246, 48%, 76%)
CMYKcmyk(43.8%, 48.5%, 0%, 23.9%)
CIE-LABlab(47.31, 27.43, -48.25)
CIE-LCHlch(47.31, 55.50, 299.62°)
OKLaboklab(55.67% 0.0371 -0.1368)
OKLCHoklch(55.67% 0.142 285.2)
XYZxyz(20.5986, 16.2598, 53.0816)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D64C2 #B9C264
analogous
#648AC2 #6D64C2 #9C64C2
triadic
#6D64C2 #C26D64 #64C26D
tetradic
#6D64C2 #C2648A #B9C264 #64C29C
square
#6D64C2 #C2648A #B9C264 #64C29C
split-complementary
#6D64C2 #C29C64 #8AC264
monochromatic
#38307B #4B42A7 #6D64C2 #9690D3 #C0BCE5

Accessibility & contrast

On white

4.94
#6D64C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#6D64C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D64C2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D64C2#FFFFFF#000000##FFFFFF
##6D64C21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C5
Deuteranopia (green-blind)
#3A6DC0
Tritanopia (blue-blind)
#53788A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6d64c2;
/* rgb */ color: rgb(109, 100, 194);
/* oklch */ color: oklch(55.7% 0.142 285.2);
Tailwind
colors: {
  custom: {
    50: '#9b90d5',
    500: '#6d64c2',
    950: '#000000',
  },
}
SCSS
$custom: #6d64c2;
$custom-light: #9b90d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d64c2",
  "rgb": {
    "r": 109,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 245.745,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55674,
    "c": 0.14179,
    "h": 285.2
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#6D64C2
secondary
#D0D4AE
accent
#D355C7
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #6D64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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