#645C93#645C93

#645C93 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.6% C 0.086 H 289.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#645C93
RGBrgb(100, 92, 147)
HSLhsl(249, 23%, 47%)
HSVhsv(249, 37%, 58%)
CMYKcmyk(32%, 37.4%, 0%, 42.4%)
CIE-LABlab(41.95, 16.43, -29.13)
CIE-LCHlch(41.95, 33.44, 299.42°)
OKLaboklab(50.6% 0.029 -0.0813)
OKLCHoklch(50.6% 0.086 289.6)
XYZxyz(14.3478, 12.4699, 29.2491)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C93 #8B935C
analogous
#5C7093 #645C93 #805C93
triadic
#645C93 #93645C #5C9364
tetradic
#645C93 #935C70 #8B935C #5C9380
square
#645C93 #935C70 #8B935C #5C9380
split-complementary
#645C93 #93805C #70935C
monochromatic
#312D48 #4A446D #645C93 #857EAE #A9A4C6

Accessibility & contrast

On white

6.01
#645C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#645C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C93
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C93#FFFFFF#000000##FFFFFF
##645C931.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6495
Deuteranopia (green-blind)
#4C6292
Tritanopia (blue-blind)
#596670
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #645c93;
/* rgb */ color: rgb(100, 92, 147);
/* oklch */ color: oklch(50.6% 0.086 289.6);
Tailwind
colors: {
  custom: {
    50: '#928ab3',
    500: '#645c93',
    950: '#000000',
  },
}
SCSS
$custom: #645c93;
$custom-light: #928ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#645c93",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 147
  },
  "hsl": {
    "h": 248.727,
    "s": 23.013,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50599,
    "c": 0.08632,
    "h": 289.6
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#645C93
secondary
#B0B497
accent
#C068B3
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645C93

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

Preview Lab → · Contrast checker → · Palette generator →

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