#654BBA#654BBA

#654BBA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.167 H 289.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#654BBA
RGBrgb(101, 75, 186)
HSLhsl(254, 45%, 51%)
HSVhsv(254, 60%, 73%)
CMYKcmyk(45.7%, 59.7%, 0%, 27.1%)
CIE-LABlab(40.15, 38.25, -55.14)
CIE-LCHlch(40.15, 67.11, 304.75°)
OKLaboklab(50.02% 0.0566 -0.1574)
OKLCHoklch(50.02% 0.167 289.8)
XYZxyz(16.7433, 11.3434, 47.7522)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BBA #A0BA4B
analogous
#4B68BA #654BBA #9C4BBA
triadic
#654BBA #BA654B #4BBA65
tetradic
#654BBA #BA4B68 #A0BA4B #4BBA9C
square
#654BBA #BA4B68 #A0BA4B #4BBA9C
split-complementary
#654BBA #BA9C4B #68BA4B
monochromatic
#352664 #4C3790 #654BBA #8B77CB #B1A3DC

Accessibility & contrast

On white

6.42
#654BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#654BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BBA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BBA#FFFFFF#000000##FFFFFF
##654BBA1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#4B647B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654bba;
/* rgb */ color: rgb(101, 75, 186);
/* oklch */ color: oklch(50.0% 0.167 289.8);
Tailwind
colors: {
  custom: {
    50: '#977ecf',
    500: '#654bba',
    950: '#000000',
  },
}
SCSS
$custom: #654bba;
$custom-light: #977ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#654bba",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 254.054,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.16727,
    "h": 289.8
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#654BBA
secondary
#BDC998
accent
#D454B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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