#645CE9#645CE9

#645CE9 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.3% C 0.206 H 280.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#645CE9
RGBrgb(100, 92, 233)
HSLhsl(243, 76%, 64%)
HSVhsv(243, 61%, 91%)
CMYKcmyk(57.1%, 60.5%, 0%, 8.6%)
CIE-LABlab(47.29, 42.27, -70.55)
CIE-LCHlch(47.29, 82.25, 300.92°)
OKLaboklab(56.31% 0.0358 -0.2027)
OKLCHoklch(56.31% 0.206 280)
XYZxyz(23.7860, 16.2452, 78.9572)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CE9 #E1E95C
analogous
#5C9AE9 #645CE9 #AA5CE9
triadic
#645CE9 #E9645C #5CE964
tetradic
#645CE9 #E95C9A #E1E95C #5CE9AA
square
#645CE9 #E95C9A #E1E95C #5CE9AA
split-complementary
#645CE9 #E9AA5C #9AE95C
monochromatic
#2118B3 #3126E2 #645CE9 #9792F0 #CBC8F8

Accessibility & contrast

On white

4.94
#645CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#645CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CE9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CE9#FFFFFF#000000##FFFFFF
##645CE91.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)
#0076EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#127E9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645ce9;
/* rgb */ color: rgb(100, 92, 233);
/* oklch */ color: oklch(56.3% 0.206 280.0);
Tailwind
colors: {
  custom: {
    50: '#9c8bf1',
    500: '#645ce9',
    950: '#000000',
  },
}
SCSS
$custom: #645ce9;
$custom-light: #9c8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#645ce9",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 243.404,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56306,
    "c": 0.20586,
    "h": 280
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#645CE9
secondary
#E6E9B8
accent
#D80DCD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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