#654FCA#654FCA

#654FCA is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.183 H 286.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#654FCA
RGBrgb(101, 79, 202)
HSLhsl(251, 54%, 55%)
HSVhsv(251, 61%, 79%)
CMYKcmyk(50%, 60.9%, 0%, 20.8%)
CIE-LABlab(42.19, 40.62, -61.16)
CIE-LCHlch(42.19, 73.42, 303.59°)
OKLaboklab(51.87% 0.0515 -0.1751)
OKLCHoklch(51.87% 0.183 286.4)
XYZxyz(18.8203, 12.6220, 57.3103)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FCA #B4CA4F
analogous
#4F76CA #654FCA #A34FCA
triadic
#654FCA #CA654F #4FCA65
tetradic
#654FCA #CA4F76 #B4CA4F #4FCAA3
square
#654FCA #CA4F76 #B4CA4F #4FCAA3
split-complementary
#654FCA #CAA34F #76CA4F
monochromatic
#34257A #4833A9 #654FCA #8E7ED8 #B7ADE6

Accessibility & contrast

On white

5.96
#654FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#654FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FCA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FCA#FFFFFF#000000##FFFFFF
##654FCA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#406C85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654fca;
/* rgb */ color: rgb(101, 79, 202);
/* oklch */ color: oklch(51.9% 0.183 286.4);
Tailwind
colors: {
  custom: {
    50: '#9981db',
    500: '#654fca',
    950: '#000000',
  },
}
SCSS
$custom: #654fca;
$custom-light: #9981db;
$custom-dark: #000000;
JSON
{
  "hex": "#654fca",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 250.732,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.18251,
    "h": 286.4
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#654FCA
secondary
#CBD4A1
accent
#DD4BC3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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