#654EB9#654EB9

#654EB9 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.162 H 289.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#654EB9
RGBrgb(101, 78, 185)
HSLhsl(253, 43%, 52%)
HSVhsv(253, 58%, 73%)
CMYKcmyk(45.4%, 57.8%, 0%, 27.5%)
CIE-LABlab(40.76, 36.19, -53.56)
CIE-LCHlch(40.76, 64.64, 304.04°)
OKLaboklab(50.44% 0.0531 -0.1528)
OKLCHoklch(50.44% 0.162 289.2)
XYZxyz(16.8457, 11.7176, 47.2637)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EB9 #A2B94E
analogous
#4E6DB9 #654EB9 #9B4EB9
triadic
#654EB9 #B9654E #4EB965
tetradic
#654EB9 #B94E6D #A2B94E #4EB99B
square
#654EB9 #B94E6D #A2B94E #4EB99B
split-complementary
#654EB9 #B99B4E #6DB94E
monochromatic
#352865 #4C3991 #654EB9 #8B7ACA #B1A6DC

Accessibility & contrast

On white

6.28
#654EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#654EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EB9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EB9#FFFFFF#000000##FFFFFF
##654EB91.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0262BD
Deuteranopia (green-blind)
#095DB7
Tritanopia (blue-blind)
#4B667C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654eb9;
/* rgb */ color: rgb(101, 78, 185);
/* oklch */ color: oklch(50.4% 0.162 289.2);
Tailwind
colors: {
  custom: {
    50: '#9780cf',
    500: '#654eb9',
    950: '#000000',
  },
}
SCSS
$custom: #654eb9;
$custom-light: #9780cf;
$custom-dark: #000000;
JSON
{
  "hex": "#654eb9",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 252.897,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.16175,
    "h": 289.2
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#654EB9
secondary
#BFC99A
accent
#D355B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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