#645FA3#645FA3

#645FA3 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 52.1% C 0.105 H 285.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#645FA3
RGBrgb(100, 95, 163)
HSLhsl(244, 27%, 51%)
HSVhsv(244, 42%, 64%)
CMYKcmyk(38.7%, 41.7%, 0%, 36.1%)
CIE-LABlab(43.56, 19.09, -36.13)
CIE-LCHlch(43.56, 40.87, 297.85°)
OKLaboklab(52.09% 0.0281 -0.1017)
OKLCHoklch(52.09% 0.105 285.5)
XYZxyz(15.9568, 13.5376, 36.4155)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FA3 #9EA35F
analogous
#5F7CA3 #645FA3 #865FA3
triadic
#645FA3 #A3645F #5FA364
tetradic
#645FA3 #A35F7C #9EA35F #5FA386
square
#645FA3 #A35F7C #9EA35F #5FA386
split-complementary
#645FA3 #A3865F #7CA35F
monochromatic
#343256 #4C487D #645FA3 #8A86B9 #AFADD0

Accessibility & contrast

On white

5.66
#645FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#645FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FA3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FA3#FFFFFF#000000##FFFFFF
##645FA31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A6
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#536C79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645fa3;
/* rgb */ color: rgb(100, 95, 163);
/* oklch */ color: oklch(52.1% 0.105 285.5);
Tailwind
colors: {
  custom: {
    50: '#938cbe',
    500: '#645fa3',
    950: '#000000',
  },
}
SCSS
$custom: #645fa3;
$custom-light: #938cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#645fa3",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 244.412,
    "s": 26.984,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.10548,
    "h": 285.5
  },
  "luminance": 0.13538
}

Semantic roles & 50–950 ramp

primary
#645FA3
secondary
#BCBEA0
accent
#C364BC
background
#F9F8FB
surface
#F1F0F7
border
#CBCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #645FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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