#654DC8#654DC8

#654DC8 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.183 H 287.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#654DC8
RGBrgb(101, 77, 200)
HSLhsl(252, 53%, 54%)
HSVhsv(252, 62%, 78%)
CMYKcmyk(49.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(41.60, 41.19, -60.95)
CIE-LCHlch(41.60, 73.56, 304.05°)
OKLaboklab(51.39% 0.0537 -0.1745)
OKLCHoklch(51.39% 0.183 287.1)
XYZxyz(18.4430, 12.2437, 56.0239)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DC8 #B0C84D
analogous
#4D73C8 #654DC8 #A34DC8
triadic
#654DC8 #C8654D #4DC865
tetradic
#654DC8 #C84D73 #B0C84D #4DC8A3
square
#654DC8 #C84D73 #B0C84D #4DC8A3
split-complementary
#654DC8 #C8A34D #73C84D
monochromatic
#342476 #4933A5 #654DC8 #8D7CD6 #B6ABE5

Accessibility & contrast

On white

6.09
#654DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#654DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DC8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DC8#FFFFFF#000000##FFFFFF
##654DC81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#426A83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654dc8;
/* rgb */ color: rgb(101, 77, 200);
/* oklch */ color: oklch(51.4% 0.183 287.1);
Tailwind
colors: {
  custom: {
    50: '#9980da',
    500: '#654dc8',
    950: '#000000',
  },
}
SCSS
$custom: #654dc8;
$custom-light: #9980da;
$custom-dark: #000000;
JSON
{
  "hex": "#654dc8",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 251.707,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.18258,
    "h": 287.1
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#654DC8
secondary
#C8D29E
accent
#DC4CC0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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