#645FE1#645FE1

#645FE1 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.2% C 0.192 H 280.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#645FE1
RGBrgb(100, 95, 225)
HSLhsl(242, 68%, 63%)
HSVhsv(242, 58%, 88%)
CMYKcmyk(55.6%, 57.8%, 0%, 11.8%)
CIE-LABlab(47.40, 37.99, -65.86)
CIE-LCHlch(47.40, 76.03, 299.98°)
OKLaboklab(56.2% 0.0332 -0.1889)
OKLCHoklch(56.2% 0.192 280)
XYZxyz(22.9341, 16.3285, 73.1628)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FE1 #DCE15F
analogous
#5F9BE1 #645FE1 #A55FE1
triadic
#645FE1 #E1645F #5FE164
tetradic
#645FE1 #E15F9B #DCE15F #5FE1A5
square
#645FE1 #E15F9B #DCE15F #5FE1A5
split-complementary
#645FE1 #E1A55F #9BE15F
monochromatic
#241FA6 #322BD7 #645FE1 #9693EB #C8C6F4

Accessibility & contrast

On white

4.92
#645FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#645FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FE1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FE1#FFFFFF#000000##FFFFFF
##645FE11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#237E97
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645fe1;
/* rgb */ color: rgb(100, 95, 225);
/* oklch */ color: oklch(56.2% 0.192 280.0);
Tailwind
colors: {
  custom: {
    50: '#9a8ceb',
    500: '#645fe1',
    950: '#000000',
  },
}
SCSS
$custom: #645fe1;
$custom-light: #9a8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#645fe1",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 242.308,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56203,
    "c": 0.1918,
    "h": 280
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#645FE1
secondary
#E4E5B6
accent
#D015C9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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