#645EE6#645EE6

#645EE6 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.4% C 0.200 H 279.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#645EE6
RGBrgb(100, 94, 230)
HSLhsl(243, 73%, 64%)
HSVhsv(243, 59%, 90%)
CMYKcmyk(56.5%, 59.1%, 0%, 9.8%)
CIE-LABlab(47.53, 40.15, -68.48)
CIE-LCHlch(47.53, 79.38, 300.38°)
OKLaboklab(56.41% 0.0341 -0.1966)
OKLCHoklch(56.41% 0.2 279.8)
XYZxyz(23.5367, 16.4263, 76.7779)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EE6 #E0E65E
analogous
#5E9CE6 #645EE6 #A85EE6
triadic
#645EE6 #E6645E #5EE664
tetradic
#645EE6 #E65E9C #E0E65E #5EE6A8
square
#645EE6 #E65E9C #E0E65E #5EE6A8
split-complementary
#645EE6 #E6A85E #9CE65E
monochromatic
#221BAF #3129DE #645EE6 #9793EE #CAC8F6

Accessibility & contrast

On white

4.90
#645EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#645EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EE6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EE6#FFFFFF#000000##FFFFFF
##645EE61.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#197F99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645ee6;
/* rgb */ color: rgb(100, 94, 230);
/* oklch */ color: oklch(56.4% 0.200 279.8);
Tailwind
colors: {
  custom: {
    50: '#9b8cef',
    500: '#645ee6',
    950: '#000000',
  },
}
SCSS
$custom: #645ee6;
$custom-light: #9b8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#645ee6",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 242.647,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56409,
    "c": 0.19955,
    "h": 279.8
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#645EE6
secondary
#E6E8B8
accent
#D510CD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645EE6

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

Preview Lab → · Contrast checker → · Palette generator →

#645EE6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva