#645FFD#645FFD

#645FFD is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.4% C 0.227 H 278.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#645FFD
RGBrgb(100, 95, 253)
HSLhsl(242, 98%, 68%)
HSVhsv(242, 62%, 99%)
CMYKcmyk(60.5%, 62.5%, 0%, 0.8%)
CIE-LABlab(49.48, 46.75, -78.19)
CIE-LCHlch(49.48, 91.10, 300.88°)
OKLaboklab(58.38% 0.032 -0.2251)
OKLCHoklch(58.38% 0.227 278.1)
XYZxyz(27.0717, 17.9835, 94.9540)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FFD #F8FD5F
analogous
#5FA9FD #645FFD #B35FFD
triadic
#645FFD #FD645F #5FFD64
tetradic
#645FFD #FD5FA9 #F8FD5F #5FFDB3
square
#645FFD #FD5FA9 #F8FD5F #5FFDB3
split-complementary
#645FFD #FDB35F #A9FD5F
monochromatic
#0A03DF #2923FC #645FFD #9F9BFE #D9D8FF

Accessibility & contrast

On white

4.57
#645FFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#645FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #645FFD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FFD#FFFFFF#000000##000000
##645FFD1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#006FFA
Tritanopia (blue-blind)
#0087A5
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #645ffd;
/* rgb */ color: rgb(100, 95, 253);
/* oklch */ color: oklch(58.4% 0.227 278.1);
Tailwind
colors: {
  custom: {
    50: '#9f8dff',
    500: '#645ffd',
    950: '#000000',
  },
}
SCSS
$custom: #645ffd;
$custom-light: #9f8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#645ffd",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 241.899,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.2274,
    "h": 278.1
  },
  "luminance": 0.17986
}

Semantic roles & 50–950 ramp

primary
#645FFD
secondary
#F2F4C4
accent
#E600DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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