#645893#645893

#645893 is a mid, moderate violet. Relative luminance 0.118; OKLCH L 49.8% C 0.093 H 292.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#645893
RGBrgb(100, 88, 147)
HSLhsl(252, 25%, 46%)
HSVhsv(252, 40%, 58%)
CMYKcmyk(32%, 40.1%, 0%, 42.4%)
CIE-LABlab(40.89, 18.91, -30.80)
CIE-LCHlch(40.89, 36.14, 301.56°)
OKLaboklab(49.79% 0.0348 -0.0861)
OKLCHoklch(49.79% 0.093 292)
XYZxyz(14.0104, 11.7951, 29.1366)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645893 #879358
analogous
#586993 #645893 #815893
triadic
#645893 #936458 #589364
tetradic
#645893 #935869 #879358 #589381
square
#645893 #935869 #879358 #589381
split-complementary
#645893 #938158 #699358
monochromatic
#302A46 #4A416D #645893 #8479AF #A7A0C6

Accessibility & contrast

On white

6.25
#645893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#645893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645893
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645893#FFFFFF#000000##FFFFFF
##6458931.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476195
Deuteranopia (green-blind)
#485F92
Tritanopia (blue-blind)
#59636E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #645893;
/* rgb */ color: rgb(100, 88, 147);
/* oklch */ color: oklch(49.8% 0.093 292.0);
Tailwind
colors: {
  custom: {
    50: '#9287b3',
    500: '#645893',
    950: '#000000',
  },
}
SCSS
$custom: #645893;
$custom-light: #9287b3;
$custom-dark: #000000;
JSON
{
  "hex": "#645893",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 252.203,
    "s": 25.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49787,
    "c": 0.09292,
    "h": 292
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#645893
secondary
#ADB393
accent
#C266AF
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645893

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

Preview Lab → · Contrast checker → · Palette generator →

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