#645693#645693

#645693 is a mid, moderate violet. Relative luminance 0.115; OKLCH L 49.4% C 0.096 H 293.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#645693
RGBrgb(100, 86, 147)
HSLhsl(254, 26%, 46%)
HSVhsv(254, 41%, 58%)
CMYKcmyk(32%, 41.5%, 0%, 42.4%)
CIE-LABlab(40.36, 20.16, -31.62)
CIE-LCHlch(40.36, 37.50, 302.51°)
OKLaboklab(49.39% 0.0378 -0.0885)
OKLCHoklch(49.39% 0.096 293.1)
XYZxyz(13.8485, 11.4712, 29.0827)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645693 #859356
analogous
#566793 #645693 #825693
triadic
#645693 #936456 #569364
tetradic
#645693 #935667 #859356 #569382
square
#645693 #935667 #859356 #569382
split-complementary
#645693 #938256 #679356
monochromatic
#2F2946 #4A3F6C #645693 #8477AF #A79DC6

Accessibility & contrast

On white

6.37
#645693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645693
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645693#FFFFFF#000000##FFFFFF
##6456931.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446095
Deuteranopia (green-blind)
#465E91
Tritanopia (blue-blind)
#59616D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #645693;
/* rgb */ color: rgb(100, 86, 147);
/* oklch */ color: oklch(49.4% 0.096 293.1);
Tailwind
colors: {
  custom: {
    50: '#9285b3',
    500: '#645693',
    950: '#000000',
  },
}
SCSS
$custom: #645693;
$custom-light: #9285b3;
$custom-dark: #000000;
JSON
{
  "hex": "#645693",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 253.77,
    "s": 26.18,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.09626,
    "h": 293.1
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#645693
secondary
#ACB391
accent
#C365AD
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645693

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

Preview Lab → · Contrast checker → · Palette generator →

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