#654F82#654F82

#654F82 is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.2% C 0.084 H 303.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#654F82
RGBrgb(101, 79, 130)
HSLhsl(266, 24%, 41%)
HSVhsv(266, 39%, 51%)
CMYKcmyk(22.3%, 39.2%, 0%, 49%)
CIE-LABlab(37.79, 20.31, -25.32)
CIE-LCHlch(37.79, 32.46, 308.73°)
OKLaboklab(47.18% 0.046 -0.0703)
OKLCHoklch(47.18% 0.084 303.2)
XYZxyz(12.1912, 9.9704, 22.3970)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654F82 #6C824F
analogous
#4F5282 #654F82 #7E4F82
triadic
#654F82 #82654F #4F8265
tetradic
#654F82 #824F52 #6C824F #4F827E
square
#654F82 #824F52 #6C824F #4F827E
split-complementary
#654F82 #827E4F #52824F
monochromatic
#2A2136 #47385C #654F82 #836AA4 #A390BB

Accessibility & contrast

On white

7.01
#654F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#654F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654F82
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654F82#FFFFFF#000000##FFFFFF
##654F821.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#485981
Tritanopia (blue-blind)
#605762
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #654f82;
/* rgb */ color: rgb(101, 79, 130);
/* oklch */ color: oklch(47.2% 0.084 303.2);
Tailwind
colors: {
  custom: {
    50: '#9280a6',
    500: '#654f82',
    950: '#000000',
  },
}
SCSS
$custom: #654f82;
$custom-light: #9280a6;
$custom-dark: #000000;
JSON
{
  "hex": "#654f82",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 265.882,
    "s": 24.402,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47179,
    "c": 0.08396,
    "h": 303.2
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#654F82
secondary
#99A885
accent
#C1679A
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #654F82

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

Preview Lab → · Contrast checker → · Palette generator →

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