#6A64F6#6A64F6

#6A64F6 is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.1% C 0.212 H 279.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6A64F6
RGBrgb(106, 100, 246)
HSLhsl(242, 89%, 68%)
HSVhsv(242, 59%, 96%)
CMYKcmyk(56.9%, 59.3%, 0%, 3.5%)
CIE-LABlab(50.49, 42.62, -72.63)
CIE-LCHlch(50.49, 84.21, 300.41°)
OKLaboklab(59.06% 0.0351 -0.2086)
OKLCHoklch(59.06% 0.212 279.6)
XYZxyz(27.1303, 18.8305, 89.3759)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A64F6 #F0F664
analogous
#64A7F6 #6A64F6 #B364F6
triadic
#6A64F6 #F66A64 #64F66A
tetradic
#6A64F6 #F664A7 #F0F664 #64F6B3
square
#6A64F6 #F664A7 #F0F664 #64F6B3
split-complementary
#6A64F6 #F6B364 #A7F664
monochromatic
#140CD3 #322AF3 #6A64F6 #A29EF9 #D9D8FD

Accessibility & contrast

On white

4.41
#6A64F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#6A64F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A64F6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A64F6#FFFFFF#000000##000000
##6A64F61.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#1387A4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6a64f6;
/* rgb */ color: rgb(106, 100, 246);
/* oklch */ color: oklch(59.1% 0.212 279.6);
Tailwind
colors: {
  custom: {
    50: '#a090fa',
    500: '#6a64f6',
    950: '#000000',
  },
}
SCSS
$custom: #6a64f6;
$custom-light: #a090fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a64f6",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 242.466,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.21155,
    "h": 279.6
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#6A64F6
secondary
#F0F1C4
accent
#E600DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A64F6

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

Preview Lab → · Contrast checker → · Palette generator →

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