#645CF6#645CF6

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

Color values

HEX#645CF6
RGBrgb(100, 92, 246)
HSLhsl(243, 90%, 66%)
HSVhsv(243, 63%, 96%)
CMYKcmyk(59.3%, 62.6%, 0%, 3.5%)
CIE-LABlab(48.28, 46.30, -76.24)
CIE-LCHlch(48.28, 89.20, 301.27°)
OKLaboklab(57.33% 0.035 -0.2194)
OKLCHoklch(57.33% 0.222 279.1)
XYZxyz(25.7119, 17.0156, 89.1003)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CF6 #EEF65C
analogous
#5CA1F6 #645CF6 #B15CF6
triadic
#645CF6 #F6645C #5CF664
tetradic
#645CF6 #F65CA1 #EEF65C #5CF6B1
square
#645CF6 #F65CA1 #EEF65C #5CF6B1
split-complementary
#645CF6 #F6B15C #A1F65C
monochromatic
#150BCC #2D22F3 #645CF6 #9B96F9 #D2D0FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645CF6#FFFFFF#000000##FFFFFF
##645CF61.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)
#0079FB
Deuteranopia (green-blind)
#006CF3
Tritanopia (blue-blind)
#0083A1
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645cf6;
/* rgb */ color: rgb(100, 92, 246);
/* oklch */ color: oklch(57.3% 0.222 279.1);
Tailwind
colors: {
  custom: {
    50: '#9e8bfa',
    500: '#645cf6',
    950: '#000000',
  },
}
SCSS
$custom: #645cf6;
$custom-light: #9e8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#645cf6",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 243.117,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.57334,
    "c": 0.2222,
    "h": 279.1
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#645CF6
secondary
#EDF0BE
accent
#E600DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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