#645CE2#645CE2

#645CE2 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.8% C 0.197 H 280.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#645CE2
RGBrgb(100, 92, 226)
HSLhsl(244, 70%, 62%)
HSVhsv(244, 59%, 89%)
CMYKcmyk(55.8%, 59.3%, 0%, 11.4%)
CIE-LABlab(46.78, 40.09, -67.44)
CIE-LCHlch(46.78, 78.45, 300.73°)
OKLaboklab(55.77% 0.0361 -0.1935)
OKLCHoklch(55.77% 0.197 280.6)
XYZxyz(22.8059, 15.8531, 73.7950)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CE2 #DAE25C
analogous
#5C97E2 #645CE2 #A75CE2
triadic
#645CE2 #E2645C #5CE264
tetradic
#645CE2 #E25C97 #DAE25C #5CE2A7
square
#645CE2 #E25C97 #DAE25C #5CE2A7
split-complementary
#645CE2 #E2A75C #97E25C
monochromatic
#261EA6 #3328D9 #645CE2 #9590EB #C7C4F4

Accessibility & contrast

On white

5.03
#645CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#645CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CE2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CE2#FFFFFF#000000##FFFFFF
##645CE21.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#227C96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645ce2;
/* rgb */ color: rgb(100, 92, 226);
/* oklch */ color: oklch(55.8% 0.197 280.6);
Tailwind
colors: {
  custom: {
    50: '#9b8aec',
    500: '#645ce2',
    950: '#000000',
  },
}
SCSS
$custom: #645ce2;
$custom-light: #9b8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#645ce2",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 243.582,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55767,
    "c": 0.19689,
    "h": 280.6
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#645CE2
secondary
#E2E5B4
accent
#D214C6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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