#654EB0#654EB0

#654EB0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.8% C 0.150 H 290.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#654EB0
RGBrgb(101, 78, 176)
HSLhsl(254, 39%, 50%)
HSVhsv(254, 56%, 69%)
CMYKcmyk(42.6%, 55.7%, 0%, 31%)
CIE-LABlab(40.16, 33.57, -49.24)
CIE-LCHlch(40.16, 59.59, 304.28°)
OKLaboklab(49.81% 0.0531 -0.1401)
OKLCHoklch(49.81% 0.15 290.7)
XYZxyz(15.9255, 11.3496, 42.4175)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EB0 #99B04E
analogous
#4E68B0 #654EB0 #964EB0
triadic
#654EB0 #B0654E #4EB065
tetradic
#654EB0 #B04E68 #99B04E #4EB096
square
#654EB0 #B04E68 #99B04E #4EB096
split-complementary
#654EB0 #B0964E #68B04E
monochromatic
#34285B #4D3B86 #654EB0 #8A78C3 #AFA2D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##654EB0#FFFFFF#000000##FFFFFF
##654EB01.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)
#1B60B3
Deuteranopia (green-blind)
#205DAE
Tritanopia (blue-blind)
#506377
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654eb0;
/* rgb */ color: rgb(101, 78, 176);
/* oklch */ color: oklch(49.8% 0.150 290.7);
Tailwind
colors: {
  custom: {
    50: '#9680c8',
    500: '#654eb0',
    950: '#000000',
  },
}
SCSS
$custom: #654eb0;
$custom-light: #9680c8;
$custom-dark: #000000;
JSON
{
  "hex": "#654eb0",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 254.082,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.14977,
    "h": 290.7
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#654EB0
secondary
#B9C397
accent
#CF59B3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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