#654FAE#654FAE

#654FAE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.8% C 0.146 H 290.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#654FAE
RGBrgb(101, 79, 174)
HSLhsl(254, 38%, 50%)
HSVhsv(254, 55%, 68%)
CMYKcmyk(42%, 54.6%, 0%, 31.8%)
CIE-LABlab(40.27, 32.39, -47.88)
CIE-LCHlch(40.27, 57.81, 304.07°)
OKLaboklab(49.84% 0.0518 -0.1361)
OKLCHoklch(49.84% 0.146 290.8)
XYZxyz(15.8007, 11.4142, 41.4068)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FAE #98AE4F
analogous
#4F69AE #654FAE #954FAE
triadic
#654FAE #AE654F #4FAE65
tetradic
#654FAE #AE4F69 #98AE4F #4FAE95
square
#654FAE #AE4F69 #98AE4F #4FAE95
split-complementary
#654FAE #AE954F #69AE4F
monochromatic
#34295A #4D3C84 #654FAE #8978C2 #AEA2D5

Accessibility & contrast

On white

6.40
#654FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#654FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FAE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FAE#FFFFFF#000000##FFFFFF
##654FAE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B1
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#516377
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654fae;
/* rgb */ color: rgb(101, 79, 174);
/* oklch */ color: oklch(49.8% 0.146 290.8);
Tailwind
colors: {
  custom: {
    50: '#9581c7',
    500: '#654fae',
    950: '#000000',
  },
}
SCSS
$custom: #654fae;
$custom-light: #9581c7;
$custom-dark: #000000;
JSON
{
  "hex": "#654fae",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 253.895,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.14559,
    "h": 290.8
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#654FAE
secondary
#B8C297
accent
#CE5AB3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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