#654AAF#654AAF

#654AAF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.1% C 0.154 H 292.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#654AAF
RGBrgb(101, 74, 175)
HSLhsl(256, 41%, 49%)
HSVhsv(256, 58%, 69%)
CMYKcmyk(42.3%, 57.7%, 0%, 31.4%)
CIE-LABlab(39.17, 35.66, -50.24)
CIE-LCHlch(39.17, 61.61, 305.37°)
OKLaboklab(49.05% 0.0579 -0.143)
OKLCHoklch(49.05% 0.154 292.1)
XYZxyz(15.5514, 10.7590, 41.8064)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AAF #94AF4A
analogous
#4A62AF #654AAF #984AAF
triadic
#654AAF #AF654A #4AAF65
tetradic
#654AAF #AF4A62 #94AF4A #4AAF98
square
#654AAF #AF4A62 #94AF4A #4AAF98
split-complementary
#654AAF #AF984A #62AF4A
monochromatic
#332659 #4C3884 #654AAF #8873C4 #AD9ED6

Accessibility & contrast

On white

6.66
#654AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#654AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AAF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AAF#FFFFFF#000000##FFFFFF
##654AAF1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB2
Deuteranopia (green-blind)
#185AAD
Tritanopia (blue-blind)
#516075
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #654aaf;
/* rgb */ color: rgb(101, 74, 175);
/* oklch */ color: oklch(49.1% 0.154 292.1);
Tailwind
colors: {
  custom: {
    50: '#967dc7',
    500: '#654aaf',
    950: '#000000',
  },
}
SCSS
$custom: #654aaf;
$custom-light: #967dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#654aaf",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 256.04,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49054,
    "c": 0.15431,
    "h": 292.1
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

primary
#654AAF
secondary
#B6C292
accent
#D057B0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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