#645FF4#645FF4

#645FF4 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.7% C 0.216 H 278.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#645FF4
RGBrgb(100, 95, 244)
HSLhsl(242, 87%, 66%)
HSVhsv(242, 61%, 96%)
CMYKcmyk(59%, 61.1%, 0%, 4.3%)
CIE-LABlab(48.79, 43.94, -74.29)
CIE-LCHlch(48.79, 86.31, 300.60°)
OKLaboklab(57.66% 0.0326 -0.2137)
OKLCHoklch(57.66% 0.216 278.7)
XYZxyz(25.6717, 17.4235, 87.5807)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FF4 #EFF45F
analogous
#5FA5F4 #645FF4 #AE5FF4
triadic
#645FF4 #F4645F #5FF464
tetradic
#645FF4 #F45FA5 #EFF45F #5FF4AE
square
#645FF4 #F45FA5 #EFF45F #5FF4AE
split-complementary
#645FF4 #F4AE5F #A5F45F
monochromatic
#140ECB #2D26F0 #645FF4 #9B98F8 #D3D2FC

Accessibility & contrast

On white

4.68
#645FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#645FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FF4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FF4#FFFFFF#000000##FFFFFF
##645FF41.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#006EF1
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #645ff4;
/* rgb */ color: rgb(100, 95, 244);
/* oklch */ color: oklch(57.7% 0.216 278.7);
Tailwind
colors: {
  custom: {
    50: '#9d8df9',
    500: '#645ff4',
    950: '#000000',
  },
}
SCSS
$custom: #645ff4;
$custom-light: #9d8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#645ff4",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 242.013,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.21617,
    "h": 278.7
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#645FF4
secondary
#EEF0BF
accent
#E402DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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