#645ACB#645ACB

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

Color values

HEX#645ACB
RGBrgb(100, 90, 203)
HSLhsl(245, 52%, 57%)
HSVhsv(245, 56%, 80%)
CMYKcmyk(50.7%, 55.7%, 0%, 20.4%)
CIE-LABlab(44.71, 34.18, -57.66)
CIE-LCHlch(44.71, 67.03, 300.66°)
OKLaboklab(53.72% 0.0384 -0.1648)
OKLCHoklch(53.72% 0.169 283.1)
XYZxyz(19.6879, 14.3324, 58.2174)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645ACB #C1CB5A
analogous
#5A88CB #645ACB #9D5ACB
triadic
#645ACB #CB645A #5ACB64
tetradic
#645ACB #CB5A88 #C1CB5A #5ACB9D
square
#645ACB #CB5A88 #C1CB5A #5ACB9D
split-complementary
#645ACB #CB9D5A #88CB5A
monochromatic
#312982 #4238B0 #645ACB #9089DA #BBB7E8

Accessibility & contrast

On white

5.43
#645ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#645ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645ACB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645ACB#FFFFFF#000000##FFFFFF
##645ACB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6DCF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#3C748A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645acb;
/* rgb */ color: rgb(100, 90, 203);
/* oklch */ color: oklch(53.7% 0.169 283.1);
Tailwind
colors: {
  custom: {
    50: '#9889dc',
    500: '#645acb',
    950: '#000000',
  },
}
SCSS
$custom: #645acb;
$custom-light: #9889dc;
$custom-dark: #000000;
JSON
{
  "hex": "#645acb",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 245.31,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.16923,
    "h": 283.1
  },
  "luminance": 0.14333
}

Semantic roles & 50–950 ramp

primary
#645ACB
secondary
#D3D7AA
accent
#DC4CCF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #645ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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