#654FA7#654FA7

#654FA7 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.4% C 0.136 H 292.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#654FA7
RGBrgb(101, 79, 167)
HSLhsl(255, 36%, 48%)
HSVhsv(255, 53%, 65%)
CMYKcmyk(39.5%, 52.7%, 0%, 34.5%)
CIE-LABlab(39.83, 30.37, -44.44)
CIE-LCHlch(39.83, 53.83, 304.35°)
OKLaboklab(49.38% 0.0514 -0.126)
OKLCHoklch(49.38% 0.136 292.2)
XYZxyz(15.1360, 11.1483, 37.9061)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FA7 #91A74F
analogous
#4F65A7 #654FA7 #914FA7
triadic
#654FA7 #A7654F #4FA765
tetradic
#654FA7 #A74F65 #91A74F #4FA791
square
#654FA7 #A74F65 #91A74F #4FA791
split-complementary
#654FA7 #A7914F #65A74F
monochromatic
#332854 #4C3B7D #654FA7 #8775BE #AC9FD2

Accessibility & contrast

On white

6.50
#654FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#654FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FA7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FA7#FFFFFF#000000##FFFFFF
##654FA71.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FAA
Deuteranopia (green-blind)
#2E5CA5
Tritanopia (blue-blind)
#546173
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654fa7;
/* rgb */ color: rgb(101, 79, 167);
/* oklch */ color: oklch(49.4% 0.136 292.2);
Tailwind
colors: {
  custom: {
    50: '#9581c2',
    500: '#654fa7',
    950: '#000000',
  },
}
SCSS
$custom: #654fa7;
$custom-light: #9581c2;
$custom-dark: #000000;
JSON
{
  "hex": "#654fa7",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 255,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.13604,
    "h": 292.2
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#654FA7
secondary
#B4BE93
accent
#CC5CB0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #654FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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