#654397#654397

#654397 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.2% C 0.133 H 299.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#654397
RGBrgb(101, 67, 151)
HSLhsl(264, 39%, 43%)
HSVhsv(264, 56%, 59%)
CMYKcmyk(33.1%, 55.6%, 0%, 40.8%)
CIE-LABlab(36.01, 33.14, -40.94)
CIE-LCHlch(36.01, 52.67, 308.99°)
OKLaboklab(46.23% 0.0665 -0.1157)
OKLCHoklch(46.23% 0.133 299.9)
XYZxyz(12.9586, 9.0153, 30.3296)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654397 #759743
analogous
#434B97 #654397 #8F4397
triadic
#654397 #976543 #439765
tetradic
#654397 #97434B #759743 #43978F
square
#654397 #97434B #759743 #43978F
split-complementary
#654397 #978F43 #4B9743
monochromatic
#2C1D42 #49306D #654397 #835FB8 #A48ACB

Accessibility & contrast

On white

7.49
#654397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#654397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654397
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654397#FFFFFF#000000##FFFFFF
##6543971.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#2C5495
Tritanopia (blue-blind)
#5B5466
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #654397;
/* rgb */ color: rgb(101, 67, 151);
/* oklch */ color: oklch(46.2% 0.133 299.9);
Tailwind
colors: {
  custom: {
    50: '#9478b6',
    500: '#654397',
    950: '#000000',
  },
}
SCSS
$custom: #654397;
$custom-light: #9478b6;
$custom-dark: #000000;
JSON
{
  "hex": "#654397",
  "rgb": {
    "r": 101,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 264.286,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46227,
    "c": 0.13344,
    "h": 299.9
  },
  "luminance": 0.09015
}

Semantic roles & 50–950 ramp

primary
#654397
secondary
#A0B680
accent
#CE599F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #654397

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

Preview Lab → · Contrast checker → · Palette generator →

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