#654CCF#654CCF

#654CCF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.193 H 286.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#654CCF
RGBrgb(101, 76, 207)
HSLhsl(251, 58%, 55%)
HSVhsv(251, 63%, 81%)
CMYKcmyk(51.2%, 63.3%, 0%, 18.8%)
CIE-LABlab(41.91, 43.83, -64.50)
CIE-LCHlch(41.91, 77.98, 304.20°)
OKLaboklab(51.78% 0.0542 -0.1849)
OKLCHoklch(51.78% 0.193 286.3)
XYZxyz(19.2104, 12.4396, 60.4082)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CCF #B6CF4C
analogous
#4C75CF #654CCF #A64CCF
triadic
#654CCF #CF654C #4CCF65
tetradic
#654CCF #CF4C75 #B6CF4C #4CCFA6
square
#654CCF #CF4C75 #B6CF4C #4CCFA6
split-complementary
#654CCF #CFA64C #75CF4C
monochromatic
#34227F #472FAF #654CCF #8F7CDC #B8ADE9

Accessibility & contrast

On white

6.02
#654CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#654CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CCF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CCF#FFFFFF#000000##FFFFFF
##654CCF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#3D6C86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654ccf;
/* rgb */ color: rgb(101, 76, 207);
/* oklch */ color: oklch(51.8% 0.193 286.3);
Tailwind
colors: {
  custom: {
    50: '#9a7fdf',
    500: '#654ccf',
    950: '#000000',
  },
}
SCSS
$custom: #654ccf;
$custom-light: #9a7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#654ccf",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 251.45,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.19271,
    "h": 286.3
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#654CCF
secondary
#CCD7A0
accent
#E147C4
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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