#645DF6#645DF6

#645DF6 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.5% C 0.221 H 278.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#645DF6
RGBrgb(100, 93, 246)
HSLhsl(243, 89%, 66%)
HSVhsv(243, 62%, 96%)
CMYKcmyk(59.3%, 62.2%, 0%, 3.5%)
CIE-LABlab(48.50, 45.73, -75.89)
CIE-LCHlch(48.50, 88.60, 301.07°)
OKLaboklab(57.49% 0.0342 -0.2184)
OKLCHoklch(57.49% 0.221 278.9)
XYZxyz(25.7991, 17.1899, 89.1294)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DF6 #EFF65D
analogous
#5DA3F6 #645DF6 #B15DF6
triadic
#645DF6 #F6645D #5DF664
tetradic
#645DF6 #F65DA3 #EFF65D #5DF6B1
square
#645DF6 #F65DA3 #EFF65D #5DF6B1
split-complementary
#645DF6 #F6B15D #A3F65D
monochromatic
#140BCD #2D23F3 #645DF6 #9B97F9 #D3D1FC

Accessibility & contrast

On white

4.73
#645DF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#645DF6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DF6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DF6#FFFFFF#000000##FFFFFF
##645DF61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FB
Deuteranopia (green-blind)
#006DF3
Tritanopia (blue-blind)
#0083A1
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645df6;
/* rgb */ color: rgb(100, 93, 246);
/* oklch */ color: oklch(57.5% 0.221 278.9);
Tailwind
colors: {
  custom: {
    50: '#9e8bfa',
    500: '#645df6',
    950: '#000000',
  },
}
SCSS
$custom: #645df6;
$custom-light: #9e8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#645df6",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 242.745,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57494,
    "c": 0.22104,
    "h": 278.9
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#645DF6
secondary
#EEF0BF
accent
#E600DB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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