#654199#654199

#654199 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.0% C 0.139 H 299.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#654199
RGBrgb(101, 65, 153)
HSLhsl(265, 40%, 43%)
HSVhsv(265, 58%, 60%)
CMYKcmyk(34%, 57.5%, 0%, 40%)
CIE-LABlab(35.69, 34.86, -42.67)
CIE-LCHlch(35.69, 55.10, 309.25°)
OKLaboklab(46.03% 0.0692 -0.1208)
OKLCHoklch(46.03% 0.139 299.8)
XYZxyz(13.0055, 8.8471, 31.1533)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654199 #759941
analogous
#414999 #654199 #914199
triadic
#654199 #996541 #419965
tetradic
#654199 #994149 #759941 #419991
square
#654199 #994149 #759941 #419991
split-complementary
#654199 #999141 #499941
monochromatic
#2C1D43 #492F6E #654199 #835DBA #A488CC

Accessibility & contrast

On white

7.58
#654199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#654199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654199
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654199#FFFFFF#000000##FFFFFF
##6541991.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#275397
Tritanopia (blue-blind)
#5A5366
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #654199;
/* rgb */ color: rgb(101, 65, 153);
/* oklch */ color: oklch(46.0% 0.139 299.8);
Tailwind
colors: {
  custom: {
    50: '#9477b7',
    500: '#654199',
    950: '#000000',
  },
}
SCSS
$custom: #654199;
$custom-light: #9477b7;
$custom-dark: #000000;
JSON
{
  "hex": "#654199",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 264.545,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.13921,
    "h": 299.8
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#654199
secondary
#A0B77F
accent
#D0589F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #654199

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

Preview Lab → · Contrast checker → · Palette generator →

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