#645FE9#645FE9

#645FE9 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.8% C 0.202 H 279.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#645FE9
RGBrgb(100, 95, 233)
HSLhsl(242, 76%, 64%)
HSVhsv(242, 59%, 91%)
CMYKcmyk(57.1%, 59.2%, 0%, 8.6%)
CIE-LABlab(47.98, 40.50, -69.45)
CIE-LCHlch(47.98, 80.39, 300.25°)
OKLaboklab(56.81% 0.0331 -0.1994)
OKLCHoklch(56.81% 0.202 279.4)
XYZxyz(24.0511, 16.7753, 79.0456)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FE9 #E4E95F
analogous
#5F9FE9 #645FE9 #A95FE9
triadic
#645FE9 #E9645F #5FE964
tetradic
#645FE9 #E95F9F #E4E95F #5FE9A9
square
#645FE9 #E95F9F #E4E95F #5FE9A9
split-complementary
#645FE9 #E9A95F #9FE95F
monochromatic
#1F19B5 #3029E2 #645FE9 #9895F0 #CCCBF8

Accessibility & contrast

On white

4.82
#645FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#645FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FE9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FE9#FFFFFF#000000##FFFFFF
##645FE91.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#11809B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #645fe9;
/* rgb */ color: rgb(100, 95, 233);
/* oklch */ color: oklch(56.8% 0.202 279.4);
Tailwind
colors: {
  custom: {
    50: '#9c8df1',
    500: '#645fe9',
    950: '#000000',
  },
}
SCSS
$custom: #645fe9;
$custom-light: #9c8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#645fe9",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 242.174,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56807,
    "c": 0.20217,
    "h": 279.4
  },
  "luminance": 0.16777
}

Semantic roles & 50–950 ramp

primary
#645FE9
secondary
#E8EABA
accent
#D80DD1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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