#654FA9#654FA9

#654FA9 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.5% C 0.139 H 291.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#654FA9
RGBrgb(101, 79, 169)
HSLhsl(255, 36%, 49%)
HSVhsv(255, 53%, 66%)
CMYKcmyk(40.2%, 53.3%, 0%, 33.7%)
CIE-LABlab(39.95, 30.95, -45.43)
CIE-LCHlch(39.95, 54.97, 304.26°)
OKLaboklab(49.51% 0.0515 -0.1289)
OKLCHoklch(49.51% 0.139 291.8)
XYZxyz(15.3223, 11.2228, 38.8873)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FA9 #93A94F
analogous
#4F66A9 #654FA9 #924FA9
triadic
#654FA9 #A9654F #4FA965
tetradic
#654FA9 #A94F66 #93A94F #4FA992
square
#654FA9 #A94F66 #93A94F #4FA992
split-complementary
#654FA9 #A9924F #66A94F
monochromatic
#332856 #4C3C7F #654FA9 #8876BF #ACA0D3

Accessibility & contrast

On white

6.47
#654FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#654FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FA9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FA9#FFFFFF#000000##FFFFFF
##654FA91.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AC
Deuteranopia (green-blind)
#2B5CA7
Tritanopia (blue-blind)
#536274
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654fa9;
/* rgb */ color: rgb(101, 79, 169);
/* oklch */ color: oklch(49.5% 0.139 291.8);
Tailwind
colors: {
  custom: {
    50: '#9581c3',
    500: '#654fa9',
    950: '#000000',
  },
}
SCSS
$custom: #654fa9;
$custom-light: #9581c3;
$custom-dark: #000000;
JSON
{
  "hex": "#654fa9",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 254.667,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.13879,
    "h": 291.8
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#654FA9
secondary
#B5C094
accent
#CC5CB1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #654FA9

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

Preview Lab → · Contrast checker → · Palette generator →

#654FA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva