#654CA7#654CA7

#654CA7 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.8% C 0.141 H 293.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#654CA7
RGBrgb(101, 76, 167)
HSLhsl(256, 37%, 48%)
HSVhsv(256, 54%, 65%)
CMYKcmyk(39.5%, 54.5%, 0%, 34.5%)
CIE-LABlab(39.11, 32.19, -45.58)
CIE-LCHlch(39.11, 55.80, 305.23°)
OKLaboklab(48.84% 0.0553 -0.1293)
OKLCHoklch(48.84% 0.141 293.1)
XYZxyz(14.9245, 10.7252, 37.8356)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CA7 #8EA74C
analogous
#4C60A7 #654CA7 #934CA7
triadic
#654CA7 #A7654C #4CA765
tetradic
#654CA7 #A74C60 #8EA74C #4CA793
square
#654CA7 #A74C60 #8EA74C #4CA793
split-complementary
#654CA7 #A7934C #60A74C
monochromatic
#322653 #4C397D #654CA7 #8772BF #AB9CD2

Accessibility & contrast

On white

6.68
#654CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654CA7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CA7#FFFFFF#000000##FFFFFF
##654CA71.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DAA
Deuteranopia (green-blind)
#295AA5
Tritanopia (blue-blind)
#545F72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #654ca7;
/* rgb */ color: rgb(101, 76, 167);
/* oklch */ color: oklch(48.8% 0.141 293.1);
Tailwind
colors: {
  custom: {
    50: '#957fc2',
    500: '#654ca7',
    950: '#000000',
  },
}
SCSS
$custom: #654ca7;
$custom-light: #957fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#654ca7",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 256.484,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.14065,
    "h": 293.1
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#654CA7
secondary
#B2BE90
accent
#CD5AAE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #654CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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