#645FF1#645FF1

#645FF1 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.4% C 0.212 H 278.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#645FF1
RGBrgb(100, 95, 241)
HSLhsl(242, 84%, 66%)
HSVhsv(242, 61%, 95%)
CMYKcmyk(58.5%, 60.6%, 0%, 5.5%)
CIE-LABlab(48.56, 43.00, -72.98)
CIE-LCHlch(48.56, 84.71, 300.51°)
OKLaboklab(57.42% 0.0327 -0.2098)
OKLCHoklch(57.42% 0.212 278.9)
XYZxyz(25.2199, 17.2428, 85.2012)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FF1 #ECF15F
analogous
#5FA3F1 #645FF1 #AD5FF1
triadic
#645FF1 #F1645F #5FF164
tetradic
#645FF1 #F15FA3 #ECF15F #5FF1AD
square
#645FF1 #F15FA3 #ECF15F #5FF1AD
split-complementary
#645FF1 #F1AD5F #A3F15F
monochromatic
#1711C4 #2D27EC #645FF1 #9B97F6 #D1D0FB

Accessibility & contrast

On white

4.72
#645FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#645FF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FF1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FF1#FFFFFF#000000##FFFFFF
##645FF11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#006DEE
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645ff1;
/* rgb */ color: rgb(100, 95, 241);
/* oklch */ color: oklch(57.4% 0.212 278.9);
Tailwind
colors: {
  custom: {
    50: '#9d8df7',
    500: '#645ff1',
    950: '#000000',
  },
}
SCSS
$custom: #645ff1;
$custom-light: #9d8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#645ff1",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 242.055,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57424,
    "c": 0.21238,
    "h": 278.9
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#645FF1
secondary
#ECEEBE
accent
#E005D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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