#645FF6#645FF6

#645FF6 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.8% C 0.219 H 278.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#645FF6
RGBrgb(100, 95, 246)
HSLhsl(242, 89%, 67%)
HSVhsv(242, 61%, 96%)
CMYKcmyk(59.3%, 61.4%, 0%, 3.5%)
CIE-LABlab(48.94, 44.56, -75.17)
CIE-LCHlch(48.94, 87.38, 300.66°)
OKLaboklab(57.82% 0.0325 -0.2163)
OKLCHoklch(57.82% 0.219 278.5)
XYZxyz(25.9770, 17.5456, 89.1887)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FF6 #F1F65F
analogous
#5FA6F6 #645FF6 #B05FF6
triadic
#645FF6 #F6645F #5FF664
tetradic
#645FF6 #F65FA6 #F1F65F #5FF6B0
square
#645FF6 #F65FA6 #F1F65F #5FF6B0
split-complementary
#645FF6 #F6B05F #A6F65F
monochromatic
#120CCF #2C25F3 #645FF6 #9C99F9 #D4D3FD

Accessibility & contrast

On white

4.66
#645FF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#645FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #645FF6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FF6#FFFFFF#000000##FFFFFF
##645FF61.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#006EF3
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #645ff6;
/* rgb */ color: rgb(100, 95, 246);
/* oklch */ color: oklch(57.8% 0.219 278.5);
Tailwind
colors: {
  custom: {
    50: '#9e8dfa',
    500: '#645ff6',
    950: '#000000',
  },
}
SCSS
$custom: #645ff6;
$custom-light: #9e8dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#645ff6",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 241.987,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.21868,
    "h": 278.5
  },
  "luminance": 0.17548
}

Semantic roles & 50–950 ramp

primary
#645FF6
secondary
#EFF1C0
accent
#E600DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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