#654792#654792

#654792 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.6% C 0.120 H 300.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#654792
RGBrgb(101, 71, 146)
HSLhsl(264, 35%, 43%)
HSVhsv(264, 51%, 57%)
CMYKcmyk(30.8%, 51.4%, 0%, 42.7%)
CIE-LABlab(36.65, 29.41, -36.89)
CIE-LCHlch(36.65, 47.18, 308.56°)
OKLaboklab(46.6% 0.0606 -0.1039)
OKLCHoklch(46.6% 0.12 300.3)
XYZxyz(12.8072, 9.3484, 28.3183)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654792 #749247
analogous
#474F92 #654792 #8A4792
triadic
#654792 #926547 #479265
tetradic
#654792 #92474F #749247 #47928A
square
#654792 #92474F #749247 #47928A
split-complementary
#654792 #928A47 #4F9247
monochromatic
#2C1F40 #493369 #654792 #8363B3 #A48CC7

Accessibility & contrast

On white

7.32
#654792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#654792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654792
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654792#FFFFFF#000000##FFFFFF
##6547921.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#365690
Tritanopia (blue-blind)
#5C5566
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #654792;
/* rgb */ color: rgb(101, 71, 146);
/* oklch */ color: oklch(46.6% 0.120 300.3);
Tailwind
colors: {
  custom: {
    50: '#937bb2',
    500: '#654792',
    950: '#000000',
  },
}
SCSS
$custom: #654792;
$custom-light: #937bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#654792",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 264,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.12024,
    "h": 300.3
  },
  "luminance": 0.09349
}

Semantic roles & 50–950 ramp

primary
#654792
secondary
#9FB382
accent
#CB5D9F
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #654792

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

Preview Lab → · Contrast checker → · Palette generator →

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