#654884#654884

#654884 is a mid, moderate violet. Relative luminance 0.091; OKLCH L 45.9% C 0.099 H 305.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#654884
RGBrgb(101, 72, 132)
HSLhsl(269, 29%, 40%)
HSVhsv(269, 45%, 52%)
CMYKcmyk(23.5%, 45.5%, 0%, 48.2%)
CIE-LABlab(36.11, 25.14, -29.18)
CIE-LCHlch(36.11, 38.51, 310.75°)
OKLaboklab(45.95% 0.0572 -0.0814)
OKLCHoklch(45.95% 0.099 305.1)
XYZxyz(11.8482, 9.0674, 22.9513)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654884 #678448
analogous
#484984 #654884 #834884
triadic
#654884 #846548 #488465
tetradic
#654884 #844849 #678448 #488483
square
#654884 #844849 #678448 #488483
split-complementary
#654884 #848348 #498448
monochromatic
#281D35 #47325C #654884 #8361A9 #A288BE

Accessibility & contrast

On white

7.46
#654884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#654884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654884
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654884#FFFFFF#000000##FFFFFF
##6548841.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#405582
Tritanopia (blue-blind)
#60525F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #654884;
/* rgb */ color: rgb(101, 72, 132);
/* oklch */ color: oklch(45.9% 0.099 305.1);
Tailwind
colors: {
  custom: {
    50: '#927ba8',
    500: '#654884',
    950: '#000000',
  },
}
SCSS
$custom: #654884;
$custom-light: #927ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#654884",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 269,
    "s": 29.412,
    "l": 40
  },
  "oklch": {
    "l": 0.45947,
    "c": 0.09948,
    "h": 305.1
  },
  "luminance": 0.09067
}

Semantic roles & 50–950 ramp

primary
#654884
secondary
#95AA7E
accent
#C66296
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #654884

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

Preview Lab → · Contrast checker → · Palette generator →

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