#654EA9#654EA9

#654EA9 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.3% C 0.140 H 292.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#654EA9
RGBrgb(101, 78, 169)
HSLhsl(255, 37%, 48%)
HSVhsv(255, 54%, 66%)
CMYKcmyk(40.2%, 53.8%, 0%, 33.7%)
CIE-LABlab(39.71, 31.55, -45.81)
CIE-LCHlch(39.71, 55.62, 304.56°)
OKLaboklab(49.33% 0.0528 -0.13)
OKLCHoklch(49.33% 0.14 292.1)
XYZxyz(15.2507, 11.0796, 38.8635)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EA9 #92A94E
analogous
#4E64A9 #654EA9 #924EA9
triadic
#654EA9 #A9654E #4EA965
tetradic
#654EA9 #A94E64 #92A94E #4EA992
square
#654EA9 #A94E64 #92A94E #4EA992
split-complementary
#654EA9 #A9924E #64A94E
monochromatic
#332755 #4C3B7F #654EA9 #8875BF #AC9FD3

Accessibility & contrast

On white

6.53
#654EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654EA9
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EA9#FFFFFF#000000##FFFFFF
##654EA91.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAC
Deuteranopia (green-blind)
#2A5CA7
Tritanopia (blue-blind)
#536174
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654ea9;
/* rgb */ color: rgb(101, 78, 169);
/* oklch */ color: oklch(49.3% 0.140 292.1);
Tailwind
colors: {
  custom: {
    50: '#9580c3',
    500: '#654ea9',
    950: '#000000',
  },
}
SCSS
$custom: #654ea9;
$custom-light: #9580c3;
$custom-dark: #000000;
JSON
{
  "hex": "#654ea9",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 255.165,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4933,
    "c": 0.14031,
    "h": 292.1
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#654EA9
secondary
#B4BF93
accent
#CD5BB0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #654EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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