#654BB4#654BB4

#654BB4 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.6% C 0.159 H 290.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#654BB4
RGBrgb(101, 75, 180)
HSLhsl(255, 41%, 50%)
HSVhsv(255, 58%, 71%)
CMYKcmyk(43.9%, 58.3%, 0%, 29.4%)
CIE-LABlab(39.74, 36.51, -52.28)
CIE-LCHlch(39.74, 63.77, 304.93°)
OKLaboklab(49.58% 0.0567 -0.149)
OKLCHoklch(49.58% 0.159 290.8)
XYZxyz(16.1188, 11.0936, 44.4632)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BB4 #9AB44B
analogous
#4B66B4 #654BB4 #994BB4
triadic
#654BB4 #B4654B #4BB465
tetradic
#654BB4 #B44B66 #9AB44B #4BB499
square
#654BB4 #B44B66 #9AB44B #4BB499
split-complementary
#654BB4 #B4994B #66B44B
monochromatic
#35275E #4D3989 #654BB4 #8A76C6 #AFA1D8

Accessibility & contrast

On white

6.52
#654BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#654BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BB4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BB4#FFFFFF#000000##FFFFFF
##654BB41.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015FB7
Deuteranopia (green-blind)
#0E5BB2
Tritanopia (blue-blind)
#4E6278
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654bb4;
/* rgb */ color: rgb(101, 75, 180);
/* oklch */ color: oklch(49.6% 0.159 290.8);
Tailwind
colors: {
  custom: {
    50: '#967ecb',
    500: '#654bb4',
    950: '#000000',
  },
}
SCSS
$custom: #654bb4;
$custom-light: #967ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#654bb4",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 254.857,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.49579,
    "c": 0.15944,
    "h": 290.8
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#654BB4
secondary
#B9C596
accent
#D157B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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