#645FE0#645FE0

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

Color values

HEX#645FE0
RGBrgb(100, 95, 224)
HSLhsl(242, 68%, 63%)
HSVhsv(242, 58%, 88%)
CMYKcmyk(55.4%, 57.6%, 0%, 12.2%)
CIE-LABlab(47.33, 37.68, -65.41)
CIE-LCHlch(47.33, 75.49, 299.95°)
OKLaboklab(56.13% 0.0332 -0.1876)
OKLCHoklch(56.13% 0.19 280)
XYZxyz(22.7981, 16.2741, 72.4464)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FE0 #DBE05F
analogous
#5F9AE0 #645FE0 #A55FE0
triadic
#645FE0 #E0645F #5FE064
tetradic
#645FE0 #E05F9A #DBE05F #5FE0A5
square
#645FE0 #E05F9A #DBE05F #5FE0A5
split-complementary
#645FE0 #E0A55F #9AE05F
monochromatic
#2520A5 #322CD6 #645FE0 #9692EA #C7C6F4

Accessibility & contrast

On white

4.94
#645FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#645FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FE0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FE0#FFFFFF#000000##FFFFFF
##645FE01.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#006BDD
Tritanopia (blue-blind)
#247D96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645fe0;
/* rgb */ color: rgb(100, 95, 224);
/* oklch */ color: oklch(56.1% 0.190 280.0);
Tailwind
colors: {
  custom: {
    50: '#9a8ceb',
    500: '#645fe0',
    950: '#000000',
  },
}
SCSS
$custom: #645fe0;
$custom-light: #9a8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#645fe0",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 242.326,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.19049,
    "h": 280
  },
  "luminance": 0.16276
}

Semantic roles & 50–950 ramp

primary
#645FE0
secondary
#E3E5B6
accent
#CF16C8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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