#645692#645692

#645692 is a mid, moderate violet. Relative luminance 0.114; OKLCH L 49.3% C 0.095 H 293.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#645692
RGBrgb(100, 86, 146)
HSLhsl(254, 26%, 45%)
HSVhsv(254, 41%, 57%)
CMYKcmyk(31.5%, 41.1%, 0%, 42.7%)
CIE-LABlab(40.31, 19.88, -31.10)
CIE-LCHlch(40.31, 36.91, 302.59°)
OKLaboklab(49.33% 0.0376 -0.087)
OKLCHoklch(49.33% 0.095 293.3)
XYZxyz(13.7703, 11.4400, 28.6712)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645692 #849256
analogous
#566692 #645692 #825692
triadic
#645692 #926456 #569264
tetradic
#645692 #925666 #849256 #569282
square
#645692 #925666 #849256 #569282
split-complementary
#645692 #928256 #669256
monochromatic
#2F2945 #4A3F6B #645692 #8477AF #A69DC5

Accessibility & contrast

On white

6.39
#645692 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#645692 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645692
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645692#FFFFFF#000000##FFFFFF
##6456921.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446094
Deuteranopia (green-blind)
#465E90
Tritanopia (blue-blind)
#5A616D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #645692;
/* rgb */ color: rgb(100, 86, 146);
/* oklch */ color: oklch(49.3% 0.095 293.3);
Tailwind
colors: {
  custom: {
    50: '#9285b2',
    500: '#645692',
    950: '#000000',
  },
}
SCSS
$custom: #645692;
$custom-light: #9285b2;
$custom-dark: #000000;
JSON
{
  "hex": "#645692",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 146
  },
  "hsl": {
    "h": 254,
    "s": 25.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49332,
    "c": 0.09479,
    "h": 293.3
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#645692
secondary
#ABB391
accent
#C266AD
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645692

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

Preview Lab → · Contrast checker → · Palette generator →

#645692 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva