#654FB9#654FB9

#654FB9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.160 H 288.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#654FB9
RGBrgb(101, 79, 185)
HSLhsl(252, 43%, 52%)
HSVhsv(252, 57%, 73%)
CMYKcmyk(45.4%, 57.3%, 0%, 27.5%)
CIE-LABlab(40.99, 35.59, -53.19)
CIE-LCHlch(40.99, 64.00, 303.79°)
OKLaboklab(50.61% 0.052 -0.1517)
OKLCHoklch(50.61% 0.16 288.9)
XYZxyz(16.9173, 11.8608, 47.2875)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FB9 #A3B94F
analogous
#4F6EB9 #654FB9 #9A4FB9
triadic
#654FB9 #B9654F #4FB965
tetradic
#654FB9 #B94F6E #A3B94F #4FB99A
square
#654FB9 #B94F6E #A3B94F #4FB99A
split-complementary
#654FB9 #B99A4F #6EB94F
monochromatic
#352865 #4C3A91 #654FB9 #8B7BCA #B2A7DC

Accessibility & contrast

On white

6.23
#654FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#654FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FB9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FB9#FFFFFF#000000##FFFFFF
##654FB91.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0963BD
Deuteranopia (green-blind)
#0E5EB7
Tritanopia (blue-blind)
#4B667C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654fb9;
/* rgb */ color: rgb(101, 79, 185);
/* oklch */ color: oklch(50.6% 0.160 288.9);
Tailwind
colors: {
  custom: {
    50: '#9781cf',
    500: '#654fb9',
    950: '#000000',
  },
}
SCSS
$custom: #654fb9;
$custom-light: #9781cf;
$custom-dark: #000000;
JSON
{
  "hex": "#654fb9",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 252.453,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.16034,
    "h": 288.9
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

primary
#654FB9
secondary
#C0C99B
accent
#D355B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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