#654DC3#654DC3

#654DC3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.176 H 287.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#654DC3
RGBrgb(101, 77, 195)
HSLhsl(252, 50%, 53%)
HSVhsv(252, 61%, 76%)
CMYKcmyk(48.2%, 60.5%, 0%, 23.5%)
CIE-LABlab(41.24, 39.71, -58.64)
CIE-LCHlch(41.24, 70.82, 304.11°)
OKLaboklab(51.01% 0.054 -0.1677)
OKLCHoklch(51.01% 0.176 287.8)
XYZxyz(17.8682, 12.0138, 52.9966)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DC3 #ABC34D
analogous
#4D70C3 #654DC3 #A04DC3
triadic
#654DC3 #C3654D #4DC365
tetradic
#654DC3 #C34D70 #ABC34D #4DC3A0
square
#654DC3 #C34D70 #ABC34D #4DC3A0
split-complementary
#654DC3 #C3A04D #70C34D
monochromatic
#352670 #4A359E #654DC3 #8D7BD2 #B4A9E2

Accessibility & contrast

On white

6.17
#654DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#654DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DC3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DC3#FFFFFF#000000##FFFFFF
##654DC31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#456881
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654dc3;
/* rgb */ color: rgb(101, 77, 195);
/* oklch */ color: oklch(51.0% 0.176 287.8);
Tailwind
colors: {
  custom: {
    50: '#9880d6',
    500: '#654dc3',
    950: '#000000',
  },
}
SCSS
$custom: #654dc3;
$custom-light: #9880d6;
$custom-dark: #000000;
JSON
{
  "hex": "#654dc3",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 252.203,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.17618,
    "h": 287.8
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#654DC3
secondary
#C5CF9D
accent
#D94FBD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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