#645AEB#645AEB

#645AEB is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.1% C 0.211 H 280.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#645AEB
RGBrgb(100, 90, 235)
HSLhsl(244, 78%, 64%)
HSVhsv(244, 62%, 92%)
CMYKcmyk(57.4%, 61.7%, 0%, 7.8%)
CIE-LABlab(47.00, 44.06, -72.16)
CIE-LCHlch(47.00, 84.55, 301.40°)
OKLaboklab(56.14% 0.0375 -0.2075)
OKLCHoklch(56.14% 0.211 280.3)
XYZxyz(23.9024, 16.0182, 80.4134)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AEB #E1EB5A
analogous
#5A98EB #645AEB #AC5AEB
triadic
#645AEB #EB645A #5AEB64
tetradic
#645AEB #EB5A98 #E1EB5A #5AEBAC
square
#645AEB #EB5A98 #E1EB5A #5AEBAC
split-complementary
#645AEB #EBAC5A #98EB5A
monochromatic
#2116B5 #3123E4 #645AEB #9791F2 #CBC7F8

Accessibility & contrast

On white

5.00
#645AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#645AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AEB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AEB#FFFFFF#000000##FFFFFF
##645AEB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#0C7E9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645aeb;
/* rgb */ color: rgb(100, 90, 235);
/* oklch */ color: oklch(56.1% 0.211 280.3);
Tailwind
colors: {
  custom: {
    50: '#9c89f2',
    500: '#645aeb',
    950: '#000000',
  },
}
SCSS
$custom: #645aeb;
$custom-light: #9c89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#645aeb",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 244.138,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.21083,
    "h": 280.3
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#645AEB
secondary
#E6EAB7
accent
#DB0BCC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #645AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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