#654BA2#654BA2

#654BA2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.3% C 0.135 H 294.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#654BA2
RGBrgb(101, 75, 162)
HSLhsl(258, 37%, 46%)
HSVhsv(258, 54%, 64%)
CMYKcmyk(37.7%, 53.7%, 0%, 36.5%)
CIE-LABlab(38.56, 31.38, -43.48)
CIE-LCHlch(38.56, 53.62, 305.82°)
OKLaboklab(48.34% 0.0563 -0.1232)
OKLCHoklch(48.34% 0.135 294.6)
XYZxyz(14.4028, 10.4072, 35.4254)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BA2 #88A24B
analogous
#4B5DA2 #654BA2 #914BA2
triadic
#654BA2 #A2654B #4BA265
tetradic
#654BA2 #A24B5D #88A24B #4BA291
square
#654BA2 #A24B5D #88A24B #4BA291
split-complementary
#654BA2 #A2914B #5DA24B
monochromatic
#31244E #4B3878 #654BA2 #856EBC #A998CF

Accessibility & contrast

On white

6.82
#654BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#654BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BA2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BA2#FFFFFF#000000##FFFFFF
##654BA21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#565D6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #654ba2;
/* rgb */ color: rgb(101, 75, 162);
/* oklch */ color: oklch(48.3% 0.135 294.6);
Tailwind
colors: {
  custom: {
    50: '#947ebe',
    500: '#654ba2',
    950: '#000000',
  },
}
SCSS
$custom: #654ba2;
$custom-light: #947ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#654ba2",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 257.931,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48335,
    "c": 0.13543,
    "h": 294.6
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#654BA2
secondary
#AEBC8D
accent
#CD5BAB
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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