#645AE3#645AE3

#645AE3 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.5% C 0.201 H 280.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#645AE3
RGBrgb(100, 90, 227)
HSLhsl(244, 71%, 62%)
HSVhsv(244, 60%, 89%)
CMYKcmyk(55.9%, 60.4%, 0%, 11%)
CIE-LABlab(46.40, 41.58, -68.62)
CIE-LCHlch(46.40, 80.24, 301.21°)
OKLaboklab(55.51% 0.038 -0.197)
OKLCHoklch(55.51% 0.201 280.9)
XYZxyz(22.7725, 15.5662, 74.4627)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AE3 #D9E35A
analogous
#5A94E3 #645AE3 #A95AE3
triadic
#645AE3 #E3645A #5AE364
tetradic
#645AE3 #E35A94 #D9E35A #5AE3A9
square
#645AE3 #E35A94 #D9E35A #5AE3A9
split-complementary
#645AE3 #E3A95A #94E35A
monochromatic
#261CA6 #3326DA #645AE3 #958EEC #C6C3F5

Accessibility & contrast

On white

5.11
#645AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#645AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AE3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AE3#FFFFFF#000000##FFFFFF
##645AE31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#217B96
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645ae3;
/* rgb */ color: rgb(100, 90, 227);
/* oklch */ color: oklch(55.5% 0.201 280.9);
Tailwind
colors: {
  custom: {
    50: '#9b89ed',
    500: '#645ae3',
    950: '#000000',
  },
}
SCSS
$custom: #645ae3;
$custom-light: #9b89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#645ae3",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 244.38,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5551,
    "c": 0.20067,
    "h": 280.9
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#645AE3
secondary
#E2E6B3
accent
#D312C5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #645AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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