#645CFF#645CFF

#645CFF is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 58.1% C 0.233 H 278.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#645CFF
RGBrgb(100, 92, 255)
HSLhsl(243, 100%, 68%)
HSVhsv(243, 64%, 100%)
CMYKcmyk(60.8%, 63.9%, 0%, 0%)
CIE-LABlab(48.98, 49.09, -80.10)
CIE-LCHlch(48.98, 93.95, 301.50°)
OKLaboklab(58.07% 0.0342 -0.2308)
OKLCHoklch(58.07% 0.233 278.4)
XYZxyz(27.1269, 17.5815, 96.5524)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CFF #F7FF5C
analogous
#5CA5FF #645CFF #B65CFF
triadic
#645CFF #FF645C #5CFF64
tetradic
#645CFF #FF5CA5 #F7FF5C #5CFFB6
square
#645CFF #FF5CA5 #F7FF5C #5CFFB6
split-complementary
#645CFF #FFB65C #A5FF5C
monochromatic
#0B00E1 #2A1FFF #645CFF #9E99FF #D8D6FF

Accessibility & contrast

On white

4.65
#645CFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#645CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #645CFF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CFF#FFFFFF#000000##FFFFFF
##645CFF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#006EFC
Tritanopia (blue-blind)
#0086A5
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #645cff;
/* rgb */ color: rgb(100, 92, 255);
/* oklch */ color: oklch(58.1% 0.233 278.4);
Tailwind
colors: {
  custom: {
    50: '#9f8bff',
    500: '#645cff',
    950: '#000000',
  },
}
SCSS
$custom: #645cff;
$custom-light: #9f8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#645cff",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 255
  },
  "hsl": {
    "h": 242.945,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.58067,
    "c": 0.2333,
    "h": 278.4
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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