#654EB4#654EB4

#654EB4 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.155 H 290.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#654EB4
RGBrgb(101, 78, 180)
HSLhsl(254, 40%, 51%)
HSVhsv(254, 57%, 71%)
CMYKcmyk(43.9%, 56.7%, 0%, 29.4%)
CIE-LABlab(40.43, 34.73, -51.17)
CIE-LCHlch(40.43, 61.84, 304.16°)
OKLaboklab(50.09% 0.0531 -0.1457)
OKLCHoklch(50.09% 0.155 290)
XYZxyz(16.3271, 11.5102, 44.5326)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EB4 #9DB44E
analogous
#4E6AB4 #654EB4 #984EB4
triadic
#654EB4 #B4654E #4EB465
tetradic
#654EB4 #B44E6A #9DB44E #4EB498
square
#654EB4 #B44E6A #9DB44E #4EB498
split-complementary
#654EB4 #B4984E #6AB44E
monochromatic
#35285F #4D3B8A #654EB4 #8A79C6 #B0A4D8

Accessibility & contrast

On white

6.36
#654EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#654EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EB4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EB4#FFFFFF#000000##FFFFFF
##654EB41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B7
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#4E6479
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654eb4;
/* rgb */ color: rgb(101, 78, 180);
/* oklch */ color: oklch(50.1% 0.155 290.0);
Tailwind
colors: {
  custom: {
    50: '#9680cb',
    500: '#654eb4',
    950: '#000000',
  },
}
SCSS
$custom: #654eb4;
$custom-light: #9680cb;
$custom-dark: #000000;
JSON
{
  "hex": "#654eb4",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 253.529,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50086,
    "c": 0.15512,
    "h": 290
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#654EB4
secondary
#BBC698
accent
#D057B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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