#654697#654697

#654697 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.7% C 0.129 H 299.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#654697
RGBrgb(101, 70, 151)
HSLhsl(263, 37%, 43%)
HSVhsv(263, 54%, 59%)
CMYKcmyk(33.1%, 53.6%, 0%, 40.8%)
CIE-LABlab(36.71, 31.36, -39.83)
CIE-LCHlch(36.71, 50.69, 308.21°)
OKLaboklab(46.74% 0.0624 -0.1124)
OKLCHoklch(46.74% 0.129 299)
XYZxyz(13.1416, 9.3813, 30.3906)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654697 #789746
analogous
#464F97 #654697 #8D4697
triadic
#654697 #976546 #469765
tetradic
#654697 #97464F #789746 #46978D
square
#654697 #97464F #789746 #46978D
split-complementary
#654697 #978D46 #4F9746
monochromatic
#2D1F43 #49336D #654697 #8363B7 #A58DCA

Accessibility & contrast

On white

7.30
#654697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#654697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654697
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654697#FFFFFF#000000##FFFFFF
##6546971.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#305695
Tritanopia (blue-blind)
#5A5667
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #654697;
/* rgb */ color: rgb(101, 70, 151);
/* oklch */ color: oklch(46.7% 0.129 299.0);
Tailwind
colors: {
  custom: {
    50: '#947ab6',
    500: '#654697',
    950: '#000000',
  },
}
SCSS
$custom: #654697;
$custom-light: #947ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#654697",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 262.963,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4674,
    "c": 0.1286,
    "h": 299
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#654697
secondary
#A2B683
accent
#CD5BA1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #654697

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

Preview Lab → · Contrast checker → · Palette generator →

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