#654FAC#654FAC

#654FAC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.7% C 0.143 H 291.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#654FAC
RGBrgb(101, 79, 172)
HSLhsl(254, 37%, 49%)
HSVhsv(254, 54%, 67%)
CMYKcmyk(41.3%, 54.1%, 0%, 32.5%)
CIE-LABlab(40.14, 31.81, -46.90)
CIE-LCHlch(40.14, 56.67, 304.14°)
OKLaboklab(49.71% 0.0517 -0.1332)
OKLCHoklch(49.71% 0.143 291.2)
XYZxyz(15.6072, 11.3368, 40.3876)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FAC #96AC4F
analogous
#4F67AC #654FAC #944FAC
triadic
#654FAC #AC654F #4FAC65
tetradic
#654FAC #AC4F67 #96AC4F #4FAC94
square
#654FAC #AC4F67 #96AC4F #4FAC94
split-complementary
#654FAC #AC944F #67AC4F
monochromatic
#342858 #4C3C82 #654FAC #8977C1 #ADA1D4

Accessibility & contrast

On white

6.43
#654FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#654FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FAC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FAC#FFFFFF#000000##FFFFFF
##654FAC1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#285DAA
Tritanopia (blue-blind)
#526376
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654fac;
/* rgb */ color: rgb(101, 79, 172);
/* oklch */ color: oklch(49.7% 0.143 291.2);
Tailwind
colors: {
  custom: {
    50: '#9581c5',
    500: '#654fac',
    950: '#000000',
  },
}
SCSS
$custom: #654fac;
$custom-light: #9581c5;
$custom-dark: #000000;
JSON
{
  "hex": "#654fac",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 254.194,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49709,
    "c": 0.14287,
    "h": 291.2
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#654FAC
secondary
#B7C196
accent
#CD5BB2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654FAC

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

Preview Lab → · Contrast checker → · Palette generator →

#654FAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva