#645BAD#645BAD

#645BAD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.126 H 286.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#645BAD
RGBrgb(100, 91, 173)
HSLhsl(247, 33%, 52%)
HSVhsv(247, 47%, 68%)
CMYKcmyk(42.2%, 47.4%, 0%, 32.2%)
CIE-LABlab(43.08, 24.50, -42.81)
CIE-LCHlch(43.08, 49.33, 299.78°)
OKLaboklab(51.9% 0.0351 -0.1212)
OKLCHoklch(51.9% 0.126 286.1)
XYZxyz(16.5373, 13.2080, 41.2051)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BAD #A4AD5B
analogous
#5B7BAD #645BAD #8D5BAD
triadic
#645BAD #AD645B #5BAD64
tetradic
#645BAD #AD5B7B #A4AD5B #5BAD8D
square
#645BAD #AD5B7B #A4AD5B #5BAD8D
split-complementary
#645BAD #AD8D5B #7BAD5B
monochromatic
#342F5E #4B4487 #645BAD #8B84C1 #B1ADD6

Accessibility & contrast

On white

5.77
#645BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#645BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BAD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BAD#FFFFFF#000000##FFFFFF
##645BAD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B0
Deuteranopia (green-blind)
#3963AB
Tritanopia (blue-blind)
#4F6C7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #645bad;
/* rgb */ color: rgb(100, 91, 173);
/* oklch */ color: oklch(51.9% 0.126 286.1);
Tailwind
colors: {
  custom: {
    50: '#9489c6',
    500: '#645bad',
    950: '#000000',
  },
}
SCSS
$custom: #645bad;
$custom-light: #9489c6;
$custom-dark: #000000;
JSON
{
  "hex": "#645bad",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 246.585,
    "s": 33.333,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.12615,
    "h": 286.1
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#645BAD
secondary
#C0C4A0
accent
#C95EBE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #645BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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