#654FA4#654FA4

#654FA4 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.2% C 0.132 H 292.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#654FA4
RGBrgb(101, 79, 164)
HSLhsl(256, 35%, 48%)
HSVhsv(256, 52%, 64%)
CMYKcmyk(38.4%, 51.8%, 0%, 35.7%)
CIE-LABlab(39.65, 29.52, -42.95)
CIE-LCHlch(39.65, 52.11, 304.50°)
OKLaboklab(49.18% 0.0512 -0.1216)
OKLCHoklch(49.18% 0.132 292.8)
XYZxyz(14.8619, 11.0386, 36.4624)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FA4 #8EA44F
analogous
#4F64A4 #654FA4 #8F4FA4
triadic
#654FA4 #A4654F #4FA465
tetradic
#654FA4 #A44F64 #8EA44F #4FA48F
square
#654FA4 #A44F64 #8EA44F #4FA48F
split-complementary
#654FA4 #A48F4F #64A44F
monochromatic
#322751 #4C3B7B #654FA4 #8774BC #AB9DD0

Accessibility & contrast

On white

6.55
#654FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#654FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FA4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FA4#FFFFFF#000000##FFFFFF
##654FA41.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA7
Deuteranopia (green-blind)
#315CA2
Tritanopia (blue-blind)
#556072
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654fa4;
/* rgb */ color: rgb(101, 79, 164);
/* oklch */ color: oklch(49.2% 0.132 292.8);
Tailwind
colors: {
  custom: {
    50: '#9481bf',
    500: '#654fa4',
    950: '#000000',
  },
}
SCSS
$custom: #654fa4;
$custom-light: #9481bf;
$custom-dark: #000000;
JSON
{
  "hex": "#654fa4",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 255.529,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4918,
    "c": 0.13192,
    "h": 292.8
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#654FA4
secondary
#B2BD92
accent
#CB5DAE
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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