#654783#654783

#654783 is a mid, moderate violet. Relative luminance 0.089; OKLCH L 45.7% C 0.100 H 305.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#654783
RGBrgb(101, 71, 131)
HSLhsl(270, 30%, 40%)
HSVhsv(270, 46%, 51%)
CMYKcmyk(22.9%, 45.8%, 0%, 48.6%)
CIE-LABlab(35.81, 25.50, -29.03)
CIE-LCHlch(35.81, 38.64, 311.30°)
OKLaboklab(45.71% 0.0586 -0.081)
OKLCHoklch(45.71% 0.1 305.9)
XYZxyz(11.7160, 8.9120, 22.5713)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654783 #658347
analogous
#474783 #654783 #834783
triadic
#654783 #836547 #478365
tetradic
#654783 #834747 #658347 #478383
square
#654783 #834747 #658347 #478383
split-complementary
#654783 #838347 #478347
monochromatic
#281C34 #46315B #654783 #845FA8 #A287BE

Accessibility & contrast

On white

7.55
#654783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#654783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654783
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654783#FFFFFF#000000##FFFFFF
##6547831.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#60515E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #654783;
/* rgb */ color: rgb(101, 71, 131);
/* oklch */ color: oklch(45.7% 0.100 305.9);
Tailwind
colors: {
  custom: {
    50: '#927ba7',
    500: '#654783',
    950: '#000000',
  },
}
SCSS
$custom: #654783;
$custom-light: #927ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#654783",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 270,
    "s": 29.703,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45705,
    "c": 0.09992,
    "h": 305.9
  },
  "luminance": 0.08912
}

Semantic roles & 50–950 ramp

primary
#654783
secondary
#93A97C
accent
#C66294
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #654783

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

Preview Lab → · Contrast checker → · Palette generator →

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