#645CE6#645CE6

#645CE6 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.1% C 0.202 H 280.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#645CE6
RGBrgb(100, 92, 230)
HSLhsl(243, 73%, 63%)
HSVhsv(243, 60%, 90%)
CMYKcmyk(56.5%, 60%, 0%, 9.8%)
CIE-LABlab(47.07, 41.33, -69.22)
CIE-LCHlch(47.07, 80.62, 300.84°)
OKLaboklab(56.07% 0.036 -0.1988)
OKLCHoklch(56.07% 0.202 280.3)
XYZxyz(23.3611, 16.0752, 76.7194)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CE6 #DEE65C
analogous
#5C99E6 #645CE6 #A95CE6
triadic
#645CE6 #E6645C #5CE664
tetradic
#645CE6 #E65C99 #DEE65C #5CE6A9
square
#645CE6 #E65C99 #DEE65C #5CE6A9
split-complementary
#645CE6 #E6A95C #99E65C
monochromatic
#231BAD #3227DE #645CE6 #9691EE #C9C6F6

Accessibility & contrast

On white

4.98
#645CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#645CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CE6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CE6#FFFFFF#000000##FFFFFF
##645CE61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#1A7D98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645ce6;
/* rgb */ color: rgb(100, 92, 230);
/* oklch */ color: oklch(56.1% 0.202 280.3);
Tailwind
colors: {
  custom: {
    50: '#9b8aef',
    500: '#645ce6',
    950: '#000000',
  },
}
SCSS
$custom: #645ce6;
$custom-light: #9b8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#645ce6",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 243.478,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.20204,
    "h": 280.3
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#645CE6
secondary
#E5E8B6
accent
#D610CA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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