#645DF7#645DF7

#645DF7 is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.6% C 0.222 H 278.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#645DF7
RGBrgb(100, 93, 247)
HSLhsl(243, 91%, 67%)
HSVhsv(243, 62%, 97%)
CMYKcmyk(59.5%, 62.3%, 0%, 3.1%)
CIE-LABlab(48.58, 46.04, -76.32)
CIE-LCHlch(48.58, 89.13, 301.10°)
OKLaboklab(57.57% 0.0341 -0.2196)
OKLCHoklch(57.57% 0.222 278.8)
XYZxyz(25.9530, 17.2515, 89.9399)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DF7 #F0F75D
analogous
#5DA3F7 #645DF7 #B15DF7
triadic
#645DF7 #F7645D #5DF764
tetradic
#645DF7 #F75DA3 #F0F75D #5DF7B1
square
#645DF7 #F75DA3 #F0F75D #5DF7B1
split-complementary
#645DF7 #F7B15D #A3F75D
monochromatic
#130ACF #2C23F4 #645DF7 #9C97FA #D4D2FD

Accessibility & contrast

On white

4.72
#645DF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#645DF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DF7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DF7#FFFFFF#000000##FFFFFF
##645DF71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#006DF4
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645df7;
/* rgb */ color: rgb(100, 93, 247);
/* oklch */ color: oklch(57.6% 0.222 278.8);
Tailwind
colors: {
  custom: {
    50: '#9e8bfb',
    500: '#645df7',
    950: '#000000',
  },
}
SCSS
$custom: #645df7;
$custom-light: #9e8bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#645df7",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 242.727,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.57574,
    "c": 0.22228,
    "h": 278.8
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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