#645AEA#645AEA

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

Color values

HEX#645AEA
RGBrgb(100, 90, 234)
HSLhsl(244, 77%, 64%)
HSVhsv(244, 62%, 92%)
CMYKcmyk(57.3%, 61.5%, 0%, 8.2%)
CIE-LABlab(46.92, 43.75, -71.72)
CIE-LCHlch(46.92, 84.01, 301.38°)
OKLaboklab(56.06% 0.0376 -0.2062)
OKLCHoklch(56.06% 0.21 280.3)
XYZxyz(23.7583, 15.9606, 79.6547)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AEA #E0EA5A
analogous
#5A98EA #645AEA #AC5AEA
triadic
#645AEA #EA645A #5AEA64
tetradic
#645AEA #EA5A98 #E0EA5A #5AEAAC
square
#645AEA #EA5A98 #E0EA5A #5AEAAC
split-complementary
#645AEA #EAAC5A #98EA5A
monochromatic
#2217B3 #3124E3 #645AEA #9790F1 #CAC7F8

Accessibility & contrast

On white

5.01
#645AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#645AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AEA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AEA#FFFFFF#000000##FFFFFF
##645AEA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#107D9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645aea;
/* rgb */ color: rgb(100, 90, 234);
/* oklch */ color: oklch(56.1% 0.210 280.3);
Tailwind
colors: {
  custom: {
    50: '#9c89f2',
    500: '#645aea',
    950: '#000000',
  },
}
SCSS
$custom: #645aea;
$custom-light: #9c89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#645aea",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 244.167,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.20957,
    "h": 280.3
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#645AEA
secondary
#E6E9B6
accent
#DA0CCB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #645AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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