#654CA6#654CA6

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

Color values

HEX#654CA6
RGBrgb(101, 76, 166)
HSLhsl(257, 37%, 47%)
HSVhsv(257, 54%, 65%)
CMYKcmyk(39.2%, 54.2%, 0%, 34.9%)
CIE-LABlab(39.05, 31.90, -45.09)
CIE-LCHlch(39.05, 55.24, 305.28°)
OKLaboklab(48.78% 0.0552 -0.1279)
OKLCHoklch(48.78% 0.139 293.4)
XYZxyz(14.8324, 10.6884, 37.3506)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CA6 #8DA64C
analogous
#4C60A6 #654CA6 #924CA6
triadic
#654CA6 #A6654C #4CA665
tetradic
#654CA6 #A64C60 #8DA64C #4CA692
square
#654CA6 #A64C60 #8DA64C #4CA692
split-complementary
#654CA6 #A6924C #60A64C
monochromatic
#322652 #4B397C #654CA6 #8771BE #AA9BD1

Accessibility & contrast

On white

6.69
#654CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#654CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CA6
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CA6#FFFFFF#000000##FFFFFF
##654CA61.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245DA9
Deuteranopia (green-blind)
#2A5AA4
Tritanopia (blue-blind)
#545F71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #654ca6;
/* rgb */ color: rgb(101, 76, 166);
/* oklch */ color: oklch(48.8% 0.139 293.4);
Tailwind
colors: {
  custom: {
    50: '#957fc1',
    500: '#654ca6',
    950: '#000000',
  },
}
SCSS
$custom: #654ca6;
$custom-light: #957fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#654ca6",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 256.667,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48777,
    "c": 0.1393,
    "h": 293.4
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#654CA6
secondary
#B1BE90
accent
#CD5BAD
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #654CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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