#654A85#654A85

#654A85 is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.4% C 0.097 H 304.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#654A85
RGBrgb(101, 74, 133)
HSLhsl(267, 29%, 41%)
HSVhsv(267, 44%, 52%)
CMYKcmyk(24.1%, 44.4%, 0%, 47.8%)
CIE-LABlab(36.66, 24.17, -28.92)
CIE-LCHlch(36.66, 37.69, 309.88°)
OKLaboklab(46.38% 0.0543 -0.0807)
OKLCHoklch(46.38% 0.097 304)
XYZxyz(12.0484, 9.3578, 23.3572)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654A85 #6A854A
analogous
#4A4C85 #654A85 #824A85
triadic
#654A85 #85654A #4A8565
tetradic
#654A85 #854A4C #6A854A #4A8582
square
#654A85 #854A4C #6A854A #4A8582
split-complementary
#654A85 #85824A #4C854A
monochromatic
#291E36 #47345E #654A85 #8364A9 #A38BBE

Accessibility & contrast

On white

7.31
#654A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#654A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654A85
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654A85#FFFFFF#000000##FFFFFF
##654A851.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5687
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#605461
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #654a85;
/* rgb */ color: rgb(101, 74, 133);
/* oklch */ color: oklch(46.4% 0.097 304.0);
Tailwind
colors: {
  custom: {
    50: '#927da9',
    500: '#654a85',
    950: '#000000',
  },
}
SCSS
$custom: #654a85;
$custom-light: #927da9;
$custom-dark: #000000;
JSON
{
  "hex": "#654a85",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 133
  },
  "hsl": {
    "h": 267.458,
    "s": 28.502,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.09725,
    "h": 304
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#654A85
secondary
#97AA80
accent
#C56398
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #654A85

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

Preview Lab → · Contrast checker → · Palette generator →

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