#645FF0#645FF0

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

Color values

HEX#645FF0
RGBrgb(100, 95, 240)
HSLhsl(242, 83%, 66%)
HSVhsv(242, 60%, 94%)
CMYKcmyk(58.3%, 60.4%, 0%, 5.9%)
CIE-LABlab(48.49, 42.69, -72.54)
CIE-LCHlch(48.49, 84.17, 300.47°)
OKLaboklab(57.35% 0.0328 -0.2085)
OKLCHoklch(57.35% 0.211 278.9)
XYZxyz(25.0709, 17.1832, 84.4167)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FF0 #EBF05F
analogous
#5FA2F0 #645FF0 #AC5FF0
triadic
#645FF0 #F0645F #5FF064
tetradic
#645FF0 #F05FA2 #EBF05F #5FF0AC
square
#645FF0 #F05FA2 #EBF05F #5FF0AC
split-complementary
#645FF0 #F0AC5F #A2F05F
monochromatic
#1812C2 #2E27EB #645FF0 #9A97F5 #D0CFFA

Accessibility & contrast

On white

4.73
#645FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#645FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FF0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FF0#FFFFFF#000000##FFFFFF
##645FF01.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645ff0;
/* rgb */ color: rgb(100, 95, 240);
/* oklch */ color: oklch(57.3% 0.211 278.9);
Tailwind
colors: {
  custom: {
    50: '#9d8df6',
    500: '#645ff0',
    950: '#000000',
  },
}
SCSS
$custom: #645ff0;
$custom-light: #9d8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#645ff0",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 242.069,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57346,
    "c": 0.21111,
    "h": 278.9
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#645FF0
secondary
#ECEEBD
accent
#DF06D8
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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