#654BC4#654BC4

#654BC4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.180 H 288.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#654BC4
RGBrgb(101, 75, 196)
HSLhsl(253, 51%, 53%)
HSVhsv(253, 62%, 77%)
CMYKcmyk(48.5%, 61.7%, 0%, 23.1%)
CIE-LABlab(40.87, 41.17, -59.82)
CIE-LCHlch(40.87, 72.61, 304.54°)
OKLaboklab(50.77% 0.0561 -0.1712)
OKLCHoklch(50.77% 0.18 288.1)
XYZxyz(17.8438, 11.7836, 53.5481)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BC4 #AAC44B
analogous
#4B6DC4 #654BC4 #A24BC4
triadic
#654BC4 #C4654B #4BC465
tetradic
#654BC4 #C44B6D #AAC44B #4BC4A2
square
#654BC4 #C44B6D #AAC44B #4BC4A2
split-complementary
#654BC4 #C4A24B #6DC44B
monochromatic
#352570 #4B349E #654BC4 #8C79D3 #B4A7E2

Accessibility & contrast

On white

6.26
#654BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#654BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BC4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BC4#FFFFFF#000000##FFFFFF
##654BC41.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#456780
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654bc4;
/* rgb */ color: rgb(101, 75, 196);
/* oklch */ color: oklch(50.8% 0.180 288.1);
Tailwind
colors: {
  custom: {
    50: '#987ed7',
    500: '#654bc4',
    950: '#000000',
  },
}
SCSS
$custom: #654bc4;
$custom-light: #987ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#654bc4",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 252.893,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.18012,
    "h": 288.1
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#654BC4
secondary
#C4CF9B
accent
#DA4EBC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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