#654BAC#654BAC

#654BAC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.0% C 0.149 H 292.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#654BAC
RGBrgb(101, 75, 172)
HSLhsl(256, 39%, 48%)
HSVhsv(256, 56%, 67%)
CMYKcmyk(41.3%, 56.4%, 0%, 32.5%)
CIE-LABlab(39.20, 34.21, -48.41)
CIE-LCHlch(39.20, 59.28, 305.25°)
OKLaboklab(49.01% 0.0567 -0.1376)
OKLCHoklch(49.01% 0.149 292.4)
XYZxyz(15.3273, 10.7770, 40.2943)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BAC #92AC4B
analogous
#4B62AC #654BAC #954BAC
triadic
#654BAC #AC654B #4BAC65
tetradic
#654BAC #AC4B62 #92AC4B #4BAC95
square
#654BAC #AC4B62 #92AC4B #4BAC95
split-complementary
#654BAC #AC954B #62AC4B
monochromatic
#332657 #4C3881 #654BAC #8872C2 #AC9DD4

Accessibility & contrast

On white

6.66
#654BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#654BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BAC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BAC#FFFFFF#000000##FFFFFF
##654BAC1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185EAF
Deuteranopia (green-blind)
#205AAA
Tritanopia (blue-blind)
#526074
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #654bac;
/* rgb */ color: rgb(101, 75, 172);
/* oklch */ color: oklch(49.0% 0.149 292.4);
Tailwind
colors: {
  custom: {
    50: '#957ec5',
    500: '#654bac',
    950: '#000000',
  },
}
SCSS
$custom: #654bac;
$custom-light: #957ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#654bac",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 256.082,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49013,
    "c": 0.14887,
    "h": 292.4
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#654BAC
secondary
#B4C192
accent
#CF59AF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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