#645AE7#645AE7

#645AE7 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.8% C 0.206 H 280.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#645AE7
RGBrgb(100, 90, 231)
HSLhsl(244, 75%, 63%)
HSVhsv(244, 61%, 91%)
CMYKcmyk(56.7%, 61%, 0%, 9.4%)
CIE-LABlab(46.70, 42.82, -70.40)
CIE-LCHlch(46.70, 82.40, 301.31°)
OKLaboklab(55.82% 0.0378 -0.2023)
OKLCHoklch(55.82% 0.206 280.6)
XYZxyz(23.3310, 15.7896, 77.4041)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AE7 #DDE75A
analogous
#5A97E7 #645AE7 #AA5AE7
triadic
#645AE7 #E7645A #5AE764
tetradic
#645AE7 #E75A97 #DDE75A #5AE7AA
square
#645AE7 #E75A97 #DDE75A #5AE7AA
split-complementary
#645AE7 #E7AA5A #97E75A
monochromatic
#2419AD #3225DF #645AE7 #968FEF #C8C5F7

Accessibility & contrast

On white

5.05
#645AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#645AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AE7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AE7#FFFFFF#000000##FFFFFF
##645AE71.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#187C98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645ae7;
/* rgb */ color: rgb(100, 90, 231);
/* oklch */ color: oklch(55.8% 0.206 280.6);
Tailwind
colors: {
  custom: {
    50: '#9c89f0',
    500: '#645ae7',
    950: '#000000',
  },
}
SCSS
$custom: #645ae7;
$custom-light: #9c89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#645ae7",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 244.255,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55821,
    "c": 0.20576,
    "h": 280.6
  },
  "luminance": 0.15791
}

Semantic roles & 50–950 ramp

primary
#645AE7
secondary
#E4E8B5
accent
#D70FC9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #645AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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