#654580#654580

#654580 is a mid, moderate violet. Relative luminance 0.086; OKLCH L 45.2% C 0.100 H 307.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#654580
RGBrgb(101, 69, 128)
HSLhsl(273, 30%, 39%)
HSVhsv(273, 46%, 50%)
CMYKcmyk(21.1%, 46.1%, 0%, 49.8%)
CIE-LABlab(35.17, 25.97, -28.20)
CIE-LCHlch(35.17, 38.34, 312.64°)
OKLaboklab(45.17% 0.0611 -0.0785)
OKLCHoklch(45.17% 0.1 307.9)
XYZxyz(11.3905, 8.5816, 21.4742)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654580 #608045
analogous
#474580 #654580 #80457D
triadic
#654580 #806545 #458065
tetradic
#654580 #804745 #608045 #457D80
square
#654580 #804745 #608045 #457D80
split-complementary
#654580 #7D8045 #458047
monochromatic
#261A30 #463058 #654580 #845BA7 #A283BC

Accessibility & contrast

On white

7.73
#654580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#654580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654580
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654580#FFFFFF#000000##FFFFFF
##6545801.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375182
Deuteranopia (green-blind)
#3F537E
Tritanopia (blue-blind)
#614E5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #654580;
/* rgb */ color: rgb(101, 69, 128);
/* oklch */ color: oklch(45.2% 0.100 307.9);
Tailwind
colors: {
  custom: {
    50: '#9279a5',
    500: '#654580',
    950: '#000000',
  },
}
SCSS
$custom: #654580;
$custom-light: #9279a5;
$custom-dark: #000000;
JSON
{
  "hex": "#654580",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 272.542,
    "s": 29.949,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.09952,
    "h": 307.9
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#654580
secondary
#8EA879
accent
#C66290
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #654580

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

Preview Lab → · Contrast checker → · Palette generator →

#654580 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva