#6B64CB#6B64CB

#6B64CB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.155 H 283.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6B64CB
RGBrgb(107, 100, 203)
HSLhsl(244, 50%, 59%)
HSVhsv(244, 51%, 80%)
CMYKcmyk(47.3%, 50.7%, 0%, 20.4%)
CIE-LABlab(47.69, 29.64, -52.83)
CIE-LCHlch(47.69, 60.58, 299.29°)
OKLaboklab(56.09% 0.0355 -0.1504)
OKLCHoklch(56.09% 0.155 283.3)
XYZxyz(21.3969, 16.5509, 58.5555)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B64CB #C4CB64
analogous
#6491CB #6B64CB #9F64CB
triadic
#6B64CB #CB6B64 #64CB6B
tetradic
#6B64CB #CB6491 #C4CB64 #64CB9F
square
#6B64CB #CB6491 #C4CB64 #64CB9F
split-complementary
#6B64CB #CB9F64 #91CB64
monochromatic
#332D87 #453DB5 #6B64CB #9792DA #C3C0EA

Accessibility & contrast

On white

4.87
#6B64CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B64CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B64CB#FFFFFF#000000##FFFFFF
##6B64CB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#4A7A8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b64cb;
/* rgb */ color: rgb(107, 100, 203);
/* oklch */ color: oklch(56.1% 0.155 283.3);
Tailwind
colors: {
  custom: {
    50: '#9b90db',
    500: '#6b64cb',
    950: '#000000',
  },
}
SCSS
$custom: #6b64cb;
$custom-light: #9b90db;
$custom-dark: #000000;
JSON
{
  "hex": "#6b64cb",
  "rgb": {
    "r": 107,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 244.078,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.15451,
    "h": 283.3
  },
  "luminance": 0.16552
}

Semantic roles & 50–950 ramp

primary
#6B64CB
secondary
#D7D9B1
accent
#D94FD0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #6B64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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