#6A64E7#6A64E7

#6A64E7 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.9% C 0.192 H 280.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6A64E7
RGBrgb(106, 100, 231)
HSLhsl(243, 73%, 65%)
HSVhsv(243, 57%, 91%)
CMYKcmyk(54.1%, 56.7%, 0%, 9.4%)
CIE-LABlab(49.43, 37.99, -65.94)
CIE-LCHlch(49.43, 76.10, 299.95°)
OKLaboklab(57.95% 0.0354 -0.1889)
OKLCHoklch(57.95% 0.192 280.6)
XYZxyz(24.9203, 17.9465, 77.7367)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A64E7 #E1E764
analogous
#64A0E7 #6A64E7 #AB64E7
triadic
#6A64E7 #E76A64 #64E76A
tetradic
#6A64E7 #E764A0 #E1E764 #64E7AB
square
#6A64E7 #E764A0 #E1E764 #64E7AB
split-complementary
#6A64E7 #E7AB64 #A0E764
monochromatic
#231CB5 #372FDF #6A64E7 #9D99EF #D0CEF7

Accessibility & contrast

On white

4.58
#6A64E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6A64E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A64E7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A64E7#FFFFFF#000000##000000
##6A64E71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#2F839C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a64e7;
/* rgb */ color: rgb(106, 100, 231);
/* oklch */ color: oklch(57.9% 0.192 280.6);
Tailwind
colors: {
  custom: {
    50: '#9e90ef',
    500: '#6a64e7',
    950: '#000000',
  },
}
SCSS
$custom: #6a64e7;
$custom-light: #9e90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6a64e7",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 242.748,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.19222,
    "h": 280.6
  },
  "luminance": 0.17948
}

Semantic roles & 50–950 ramp

primary
#6A64E7
secondary
#E8EABD
accent
#D510CC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6A64E7

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

Preview Lab → · Contrast checker → · Palette generator →

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