#654FA6#654FA6

#654FA6 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.3% C 0.135 H 292.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#654FA6
RGBrgb(101, 79, 166)
HSLhsl(255, 36%, 48%)
HSVhsv(255, 52%, 65%)
CMYKcmyk(39.2%, 52.4%, 0%, 34.9%)
CIE-LABlab(39.77, 30.09, -43.94)
CIE-LCHlch(39.77, 53.26, 304.40°)
OKLaboklab(49.31% 0.0513 -0.1245)
OKLCHoklch(49.31% 0.135 292.4)
XYZxyz(15.0439, 11.1115, 37.4211)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FA6 #90A64F
analogous
#4F65A6 #654FA6 #904FA6
triadic
#654FA6 #A6654F #4FA665
tetradic
#654FA6 #A64F65 #90A64F #4FA690
square
#654FA6 #A64F65 #90A64F #4FA690
split-complementary
#654FA6 #A6904F #65A64F
monochromatic
#332853 #4C3B7D #654FA6 #8775BD #AB9ED1

Accessibility & contrast

On white

6.52
#654FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#654FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FA6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FA6#FFFFFF#000000##FFFFFF
##654FA61.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #654fa6;
/* rgb */ color: rgb(101, 79, 166);
/* oklch */ color: oklch(49.3% 0.135 292.4);
Tailwind
colors: {
  custom: {
    50: '#9481c1',
    500: '#654fa6',
    950: '#000000',
  },
}
SCSS
$custom: #654fa6;
$custom-light: #9481c1;
$custom-dark: #000000;
JSON
{
  "hex": "#654fa6",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 255.172,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4931,
    "c": 0.13468,
    "h": 292.4
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

primary
#654FA6
secondary
#B3BE93
accent
#CC5CAF
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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