#645DFA#645DFA

#645DFA is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.8% C 0.226 H 278.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#645DFA
RGBrgb(100, 93, 250)
HSLhsl(243, 94%, 67%)
HSVhsv(243, 63%, 98%)
CMYKcmyk(60%, 62.8%, 0%, 2%)
CIE-LABlab(48.81, 46.97, -77.61)
CIE-LCHlch(48.81, 90.72, 301.18°)
OKLaboklab(57.82% 0.0339 -0.2234)
OKLCHoklch(57.82% 0.226 278.6)
XYZxyz(26.4197, 17.4382, 92.3976)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DFA #F3FA5D
analogous
#5DA5FA #645DFA #B25DFA
triadic
#645DFA #FA645D #5DFA64
tetradic
#645DFA #FA5DA5 #F3FA5D #5DFAB2
square
#645DFA #FA5DA5 #F3FA5D #5DFAB2
split-complementary
#645DFA #FAB25D #A5FA5D
monochromatic
#1007D6 #2B22F8 #645DFA #9D98FC #D6D4FE

Accessibility & contrast

On white

4.68
#645DFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#645DFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DFA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DFA#FFFFFF#000000##FFFFFF
##645DFA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#006EF7
Tritanopia (blue-blind)
#0085A3
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #645dfa;
/* rgb */ color: rgb(100, 93, 250);
/* oklch */ color: oklch(57.8% 0.226 278.6);
Tailwind
colors: {
  custom: {
    50: '#9e8bfd',
    500: '#645dfa',
    950: '#000000',
  },
}
SCSS
$custom: #645dfa;
$custom-light: #9e8bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#645dfa",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 242.675,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.226,
    "h": 278.6
  },
  "luminance": 0.1744
}

Semantic roles & 50–950 ramp

primary
#645DFA
secondary
#F0F2C1
accent
#E600DB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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