#654DC9#654DC9

#654DC9 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.184 H 287.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#654DC9
RGBrgb(101, 77, 201)
HSLhsl(252, 53%, 55%)
HSVhsv(252, 62%, 79%)
CMYKcmyk(49.8%, 61.7%, 0%, 21.2%)
CIE-LABlab(41.67, 41.48, -61.41)
CIE-LCHlch(41.67, 74.11, 304.04°)
OKLaboklab(51.47% 0.0536 -0.1759)
OKLCHoklch(51.47% 0.184 287)
XYZxyz(18.5602, 12.2906, 56.6414)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DC9 #B1C94D
analogous
#4D73C9 #654DC9 #A34DC9
triadic
#654DC9 #C9654D #4DC965
tetradic
#654DC9 #C94D73 #B1C94D #4DC9A3
square
#654DC9 #C94D73 #B1C94D #4DC9A3
split-complementary
#654DC9 #C9A34D #73C94D
monochromatic
#342477 #4932A6 #654DC9 #8E7CD7 #B6ABE5

Accessibility & contrast

On white

6.07
#654DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#654DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DC9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DC9#FFFFFF#000000##FFFFFF
##654DC91.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#416A84
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654dc9;
/* rgb */ color: rgb(101, 77, 201);
/* oklch */ color: oklch(51.5% 0.184 287.0);
Tailwind
colors: {
  custom: {
    50: '#9980da',
    500: '#654dc9',
    950: '#000000',
  },
}
SCSS
$custom: #654dc9;
$custom-light: #9980da;
$custom-dark: #000000;
JSON
{
  "hex": "#654dc9",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 251.613,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.18386,
    "h": 287
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#654DC9
secondary
#C9D39F
accent
#DD4BC1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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