#654FBB#654FBB

#654FBB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.163 H 288.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#654FBB
RGBrgb(101, 79, 187)
HSLhsl(252, 44%, 52%)
HSVhsv(252, 58%, 73%)
CMYKcmyk(46%, 57.8%, 0%, 26.7%)
CIE-LABlab(41.13, 36.18, -54.14)
CIE-LCHlch(41.13, 65.12, 303.75°)
OKLaboklab(50.76% 0.052 -0.1545)
OKLCHoklch(50.76% 0.163 288.6)
XYZxyz(17.1299, 11.9459, 48.4073)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FBB #A5BB4F
analogous
#4F6FBB #654FBB #9B4FBB
triadic
#654FBB #BB654F #4FBB65
tetradic
#654FBB #BB4F6F #A5BB4F #4FBB9B
square
#654FBB #BB4F6F #A5BB4F #4FBB9B
split-complementary
#654FBB #BB9B4F #6FBB4F
monochromatic
#352868 #4C3994 #654FBB #8C7BCC #B2A7DD

Accessibility & contrast

On white

6.20
#654FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#654FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FBB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FBB#FFFFFF#000000##FFFFFF
##654FBB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0163BF
Deuteranopia (green-blind)
#065EB9
Tritanopia (blue-blind)
#4A677D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654fbb;
/* rgb */ color: rgb(101, 79, 187);
/* oklch */ color: oklch(50.8% 0.163 288.6);
Tailwind
colors: {
  custom: {
    50: '#9781d0',
    500: '#654fbb',
    950: '#000000',
  },
}
SCSS
$custom: #654fbb;
$custom-light: #9781d0;
$custom-dark: #000000;
JSON
{
  "hex": "#654fbb",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 252.222,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.16299,
    "h": 288.6
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#654FBB
secondary
#C1CA9B
accent
#D454BA
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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