#654AB2#654AB2

#654AB2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.158 H 291.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#654AB2
RGBrgb(101, 74, 178)
HSLhsl(256, 41%, 49%)
HSVhsv(256, 58%, 70%)
CMYKcmyk(43.3%, 58.4%, 0%, 30.2%)
CIE-LABlab(39.37, 36.52, -51.69)
CIE-LCHlch(39.37, 63.29, 305.25°)
OKLaboklab(49.27% 0.0579 -0.1473)
OKLCHoklch(49.27% 0.158 291.5)
XYZxyz(15.8493, 10.8781, 43.3755)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AB2 #97B24A
analogous
#4A63B2 #654AB2 #994AB2
triadic
#654AB2 #B2654A #4AB265
tetradic
#654AB2 #B24A63 #97B24A #4AB299
square
#654AB2 #B24A63 #97B24A #4AB299
split-complementary
#654AB2 #B2994A #63B24A
monochromatic
#34265C #4C3887 #654AB2 #8974C5 #AE9FD7

Accessibility & contrast

On white

6.61
#654AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#654AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AB2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AB2#FFFFFF#000000##FFFFFF
##654AB21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025EB5
Deuteranopia (green-blind)
#105BB0
Tritanopia (blue-blind)
#4F6177
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654ab2;
/* rgb */ color: rgb(101, 74, 178);
/* oklch */ color: oklch(49.3% 0.158 291.5);
Tailwind
colors: {
  custom: {
    50: '#967dca',
    500: '#654ab2',
    950: '#000000',
  },
}
SCSS
$custom: #654ab2;
$custom-light: #967dca;
$custom-dark: #000000;
JSON
{
  "hex": "#654ab2",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 255.577,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49268,
    "c": 0.15825,
    "h": 291.5
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#654AB2
secondary
#B7C494
accent
#D157B1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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