#654CA5#654CA5

#654CA5 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.7% C 0.138 H 293.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#654CA5
RGBrgb(101, 76, 165)
HSLhsl(257, 37%, 47%)
HSVhsv(257, 54%, 65%)
CMYKcmyk(38.8%, 53.9%, 0%, 35.3%)
CIE-LABlab(38.99, 31.62, -44.59)
CIE-LCHlch(38.99, 54.67, 305.34°)
OKLaboklab(48.71% 0.0552 -0.1264)
OKLCHoklch(48.71% 0.138 293.6)
XYZxyz(14.7410, 10.6519, 36.8694)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CA5 #8CA54C
analogous
#4C60A5 #654CA5 #924CA5
triadic
#654CA5 #A5654C #4CA565
tetradic
#654CA5 #A54C60 #8CA54C #4CA592
square
#654CA5 #A54C60 #8CA54C #4CA592
split-complementary
#654CA5 #A5924C #60A54C
monochromatic
#322551 #4B397B #654CA5 #8671BD #AA9BD1

Accessibility & contrast

On white

6.71
#654CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#654CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CA5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CA5#FFFFFF#000000##FFFFFF
##654CA51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#2B5AA3
Tritanopia (blue-blind)
#555E71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #654ca5;
/* rgb */ color: rgb(101, 76, 165);
/* oklch */ color: oklch(48.7% 0.138 293.6);
Tailwind
colors: {
  custom: {
    50: '#957fc0',
    500: '#654ca5',
    950: '#000000',
  },
}
SCSS
$custom: #654ca5;
$custom-light: #957fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#654ca5",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 256.854,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.13795,
    "h": 293.6
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #654CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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