#645ACA#645ACA

#645ACA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.7% C 0.168 H 283.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#645ACA
RGBrgb(100, 90, 202)
HSLhsl(245, 51%, 57%)
HSVhsv(245, 55%, 79%)
CMYKcmyk(50.5%, 55.4%, 0%, 20.8%)
CIE-LABlab(44.64, 33.87, -57.20)
CIE-LCHlch(44.64, 66.47, 300.63°)
OKLaboklab(53.65% 0.0384 -0.1634)
OKLCHoklch(53.65% 0.168 283.2)
XYZxyz(19.5691, 14.2849, 57.5918)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645ACA #C0CA5A
analogous
#5A88CA #645ACA #9C5ACA
triadic
#645ACA #CA645A #5ACA64
tetradic
#645ACA #CA5A88 #C0CA5A #5ACA9C
square
#645ACA #CA5A88 #C0CA5A #5ACA9C
split-complementary
#645ACA #CA9C5A #88CA5A
monochromatic
#312980 #4338AF #645ACA #9088D9 #BBB7E8

Accessibility & contrast

On white

5.44
#645ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#645ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645ACA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645ACA#FFFFFF#000000##FFFFFF
##645ACA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126DCE
Deuteranopia (green-blind)
#0166C8
Tritanopia (blue-blind)
#3D7389
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645aca;
/* rgb */ color: rgb(100, 90, 202);
/* oklch */ color: oklch(53.7% 0.168 283.2);
Tailwind
colors: {
  custom: {
    50: '#9789db',
    500: '#645aca',
    950: '#000000',
  },
}
SCSS
$custom: #645aca;
$custom-light: #9789db;
$custom-dark: #000000;
JSON
{
  "hex": "#645aca",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 245.357,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53653,
    "c": 0.16788,
    "h": 283.2
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#645ACA
secondary
#D3D7A9
accent
#DB4DCE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #645ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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