#654CAA#654CAA

#654CAA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.0% C 0.145 H 292.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#654CAA
RGBrgb(101, 76, 170)
HSLhsl(256, 38%, 48%)
HSVhsv(256, 55%, 67%)
CMYKcmyk(40.6%, 55.3%, 0%, 33.3%)
CIE-LABlab(39.31, 33.04, -47.06)
CIE-LCHlch(39.31, 57.50, 305.07°)
OKLaboklab(49.05% 0.0554 -0.1337)
OKLCHoklch(49.05% 0.145 292.5)
XYZxyz(15.2050, 10.8375, 39.3131)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CAA #91AA4C
analogous
#4C62AA #654CAA #944CAA
triadic
#654CAA #AA654C #4CAA65
tetradic
#654CAA #AA4C62 #91AA4C #4CAA94
square
#654CAA #AA4C62 #91AA4C #4CAA94
split-complementary
#654CAA #AA944C #62AA4C
monochromatic
#332655 #4C3980 #654CAA #8773C0 #AC9DD3

Accessibility & contrast

On white

6.63
#654CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#654CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CAA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CAA#FFFFFF#000000##FFFFFF
##654CAA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#255BA8
Tritanopia (blue-blind)
#536073
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654caa;
/* rgb */ color: rgb(101, 76, 170);
/* oklch */ color: oklch(49.0% 0.145 292.5);
Tailwind
colors: {
  custom: {
    50: '#957fc4',
    500: '#654caa',
    950: '#000000',
  },
}
SCSS
$custom: #654caa;
$custom-light: #957fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#654caa",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 255.957,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49048,
    "c": 0.14469,
    "h": 292.5
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#654CAA
secondary
#B4C092
accent
#CE5AAF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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