#645CF8#645CF8

#645CF8 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.5% C 0.225 H 278.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#645CF8
RGBrgb(100, 92, 248)
HSLhsl(243, 92%, 67%)
HSVhsv(243, 63%, 97%)
CMYKcmyk(59.7%, 62.9%, 0%, 2.7%)
CIE-LABlab(48.43, 46.92, -77.11)
CIE-LCHlch(48.43, 90.26, 301.32°)
OKLaboklab(57.5% 0.0349 -0.222)
OKLCHoklch(57.5% 0.225 278.9)
XYZxyz(26.0205, 17.1390, 90.7257)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CF8 #F0F85C
analogous
#5CA2F8 #645CF8 #B25CF8
triadic
#645CF8 #F8645C #5CF864
tetradic
#645CF8 #F85CA2 #F0F85C #5CF8B2
square
#645CF8 #F85CA2 #F0F85C #5CF8B2
split-complementary
#645CF8 #F8B25C #A2F85C
monochromatic
#1309D1 #2C21F5 #645CF8 #9C97FB #D4D1FD

Accessibility & contrast

On white

4.74
#645CF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#645CF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CF8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CF8#FFFFFF#000000##FFFFFF
##645CF81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FD
Deuteranopia (green-blind)
#006DF5
Tritanopia (blue-blind)
#0083A2
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645cf8;
/* rgb */ color: rgb(100, 92, 248);
/* oklch */ color: oklch(57.5% 0.225 278.9);
Tailwind
colors: {
  custom: {
    50: '#9e8bfc',
    500: '#645cf8',
    950: '#000000',
  },
}
SCSS
$custom: #645cf8;
$custom-light: #9e8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#645cf8",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 243.077,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.22469,
    "h": 278.9
  },
  "luminance": 0.17141
}

Semantic roles & 50–950 ramp

primary
#645CF8
secondary
#EEF1BF
accent
#E600DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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