#645DFF#645DFF

#645DFF is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.2% C 0.232 H 278.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#645DFF
RGBrgb(100, 93, 255)
HSLhsl(243, 100%, 68%)
HSVhsv(243, 64%, 100%)
CMYKcmyk(60.8%, 63.5%, 0%, 0%)
CIE-LABlab(49.20, 48.52, -79.75)
CIE-LCHlch(49.20, 93.35, 301.32°)
OKLaboklab(58.22% 0.0335 -0.2297)
OKLCHoklch(58.22% 0.232 278.3)
XYZxyz(27.2141, 17.7559, 96.5815)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DFF #F8FF5D
analogous
#5DA7FF #645DFF #B55DFF
triadic
#645DFF #FF645D #5DFF64
tetradic
#645DFF #FF5DA7 #F8FF5D #5DFFB5
square
#645DFF #FF5DA7 #F8FF5D #5DFFB5
split-complementary
#645DFF #FFB55D #A7FF5D
monochromatic
#0A00E2 #2920FF #645DFF #9F9AFF #D9D7FF

Accessibility & contrast

On white

4.61
#645DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#645DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #645DFF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DFF#FFFFFF#000000##FFFFFF
##645DFF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#006EFC
Tritanopia (blue-blind)
#0086A6
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #645dff;
/* rgb */ color: rgb(100, 93, 255);
/* oklch */ color: oklch(58.2% 0.232 278.3);
Tailwind
colors: {
  custom: {
    50: '#9f8cff',
    500: '#645dff',
    950: '#000000',
  },
}
SCSS
$custom: #645dff;
$custom-light: #9f8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#645dff",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 242.593,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.58223,
    "c": 0.23216,
    "h": 278.3
  },
  "luminance": 0.17758
}

Semantic roles & 50–950 ramp

primary
#645DFF
secondary
#F2F4C3
accent
#E600DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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