#654A82#654A82

#654A82 is a mid, moderate violet. Relative luminance 0.093; OKLCH L 46.2% C 0.093 H 305.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#654A82
RGBrgb(101, 74, 130)
HSLhsl(269, 27%, 40%)
HSVhsv(269, 43%, 51%)
CMYKcmyk(22.3%, 43.1%, 0%, 49%)
CIE-LABlab(36.51, 23.40, -27.32)
CIE-LCHlch(36.51, 35.98, 310.58°)
OKLaboklab(46.21% 0.0538 -0.076)
OKLCHoklch(46.21% 0.093 305.3)
XYZxyz(11.8440, 9.2760, 22.2813)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654A82 #67824A
analogous
#4A4B82 #654A82 #814A82
triadic
#654A82 #82654A #4A8265
tetradic
#654A82 #824A4B #67824A #4A8281
square
#654A82 #824A4B #67824A #4A8281
split-complementary
#654A82 #82814A #4B824A
monochromatic
#281E34 #47345B #654A82 #8363A6 #A28ABC

Accessibility & contrast

On white

7.36
#654A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#654A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654A82
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654A82#FFFFFF#000000##FFFFFF
##654A821.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#605360
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #654a82;
/* rgb */ color: rgb(101, 74, 130);
/* oklch */ color: oklch(46.2% 0.093 305.3);
Tailwind
colors: {
  custom: {
    50: '#927da6',
    500: '#654a82',
    950: '#000000',
  },
}
SCSS
$custom: #654a82;
$custom-light: #927da6;
$custom-dark: #000000;
JSON
{
  "hex": "#654a82",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 268.929,
    "s": 27.451,
    "l": 40
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.09311,
    "h": 305.3
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#654A82
secondary
#95A87F
accent
#C46496
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #654A82

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

Preview Lab → · Contrast checker → · Palette generator →

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