#654BCA#654BCA

#654BCA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.188 H 287.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#654BCA
RGBrgb(101, 75, 202)
HSLhsl(252, 55%, 54%)
HSVhsv(252, 63%, 79%)
CMYKcmyk(50%, 62.9%, 0%, 20.8%)
CIE-LABlab(41.31, 42.93, -62.57)
CIE-LCHlch(41.31, 75.88, 304.45°)
OKLaboklab(51.23% 0.0556 -0.1793)
OKLCHoklch(51.23% 0.188 287.2)
XYZxyz(18.5404, 12.0623, 57.2170)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BCA #B0CA4B
analogous
#4B71CA #654BCA #A44BCA
triadic
#654BCA #CA654B #4BCA65
tetradic
#654BCA #CA4B71 #B0CA4B #4BCAA4
square
#654BCA #CA4B71 #B0CA4B #4BCAA4
split-complementary
#654BCA #CAA44B #71CA4B
monochromatic
#342377 #4931A7 #654BCA #8D7AD8 #B6AAE6

Accessibility & contrast

On white

6.15
#654BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#654BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BCA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BCA#FFFFFF#000000##FFFFFF
##654BCA1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#416983
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654bca;
/* rgb */ color: rgb(101, 75, 202);
/* oklch */ color: oklch(51.2% 0.188 287.2);
Tailwind
colors: {
  custom: {
    50: '#997fdb',
    500: '#654bca',
    950: '#000000',
  },
}
SCSS
$custom: #654bca;
$custom-light: #997fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#654bca",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 252.283,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.18771,
    "h": 287.2
  },
  "luminance": 0.12063
}

Semantic roles & 50–950 ramp

primary
#654BCA
secondary
#C8D39D
accent
#DE4AC0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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