#645AE6#645AE6

#645AE6 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.7% C 0.204 H 280.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#645AE6
RGBrgb(100, 90, 230)
HSLhsl(244, 74%, 63%)
HSVhsv(244, 61%, 90%)
CMYKcmyk(56.5%, 60.9%, 0%, 9.8%)
CIE-LABlab(46.62, 42.51, -69.96)
CIE-LCHlch(46.62, 81.86, 301.29°)
OKLaboklab(55.74% 0.0378 -0.201)
OKLCHoklch(55.74% 0.205 280.7)
XYZxyz(23.1902, 15.7333, 76.6624)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AE6 #DCE65A
analogous
#5A96E6 #645AE6 #AA5AE6
triadic
#645AE6 #E6645A #5AE664
tetradic
#645AE6 #E65A96 #DCE65A #5AE6AA
square
#645AE6 #E65A96 #DCE65A #5AE6AA
split-complementary
#645AE6 #E6AA5A #96E65A
monochromatic
#241AAC #3225DE #645AE6 #968FEE #C8C4F6

Accessibility & contrast

On white

5.06
#645AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#645AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AE6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AE6#FFFFFF#000000##FFFFFF
##645AE61.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#1B7C98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645ae6;
/* rgb */ color: rgb(100, 90, 230);
/* oklch */ color: oklch(55.7% 0.204 280.7);
Tailwind
colors: {
  custom: {
    50: '#9b89ef',
    500: '#645ae6',
    950: '#000000',
  },
}
SCSS
$custom: #645ae6;
$custom-light: #9b89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#645ae6",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 244.286,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.2045,
    "h": 280.7
  },
  "luminance": 0.15735
}

Semantic roles & 50–950 ramp

primary
#645AE6
secondary
#E4E7B5
accent
#D610C8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #645AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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