#645FED#645FED

#645FED is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.1% C 0.207 H 279.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#645FED
RGBrgb(100, 95, 237)
HSLhsl(242, 80%, 65%)
HSVhsv(242, 60%, 93%)
CMYKcmyk(57.8%, 59.9%, 0%, 7.1%)
CIE-LABlab(48.27, 41.75, -71.22)
CIE-LCHlch(48.27, 82.56, 300.38°)
OKLaboklab(57.11% 0.0329 -0.2047)
OKLCHoklch(57.11% 0.207 279.1)
XYZxyz(24.6290, 17.0064, 82.0891)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FED #E8ED5F
analogous
#5FA1ED #645FED #AB5FED
triadic
#645FED #ED645F #5FED64
tetradic
#645FED #ED5FA1 #E8ED5F #5FEDAB
square
#645FED #ED5FA1 #E8ED5F #5FEDAB
split-complementary
#645FED #EDAB5F #A1ED5F
monochromatic
#1B15BC #2F28E7 #645FED #9996F3 #CFCDF9

Accessibility & contrast

On white

4.77
#645FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#645FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FED
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FED#FFFFFF#000000##FFFFFF
##645FED1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645fed;
/* rgb */ color: rgb(100, 95, 237);
/* oklch */ color: oklch(57.1% 0.207 279.1);
Tailwind
colors: {
  custom: {
    50: '#9c8df4',
    500: '#645fed',
    950: '#000000',
  },
}
SCSS
$custom: #645fed;
$custom-light: #9c8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#645fed",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 242.113,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57114,
    "c": 0.2073,
    "h": 279.1
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#645FED
secondary
#EAECBC
accent
#DC09D5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645FED

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

Preview Lab → · Contrast checker → · Palette generator →

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