#654FCB#654FCB

#654FCB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.184 H 286.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#654FCB
RGBrgb(101, 79, 203)
HSLhsl(251, 54%, 55%)
HSVhsv(251, 61%, 80%)
CMYKcmyk(50.2%, 61.1%, 0%, 20.4%)
CIE-LABlab(42.26, 40.92, -61.62)
CIE-LCHlch(42.26, 73.96, 303.59°)
OKLaboklab(51.94% 0.0514 -0.1765)
OKLCHoklch(51.94% 0.184 286.2)
XYZxyz(18.9391, 12.6695, 57.9359)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FCB #B5CB4F
analogous
#4F77CB #654FCB #A34FCB
triadic
#654FCB #CB654F #4FCB65
tetradic
#654FCB #CB4F77 #B5CB4F #4FCBA3
square
#654FCB #CB4F77 #B5CB4F #4FCBA3
split-complementary
#654FCB #CBA34F #77CB4F
monochromatic
#34247B #4832AA #654FCB #8E7ED9 #B8ADE7

Accessibility & contrast

On white

5.94
#654FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#654FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FCB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FCB#FFFFFF#000000##FFFFFF
##654FCB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #654fcb;
/* rgb */ color: rgb(101, 79, 203);
/* oklch */ color: oklch(51.9% 0.184 286.2);
Tailwind
colors: {
  custom: {
    50: '#9981dc',
    500: '#654fcb',
    950: '#000000',
  },
}
SCSS
$custom: #654fcb;
$custom-light: #9981dc;
$custom-dark: #000000;
JSON
{
  "hex": "#654fcb",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 250.645,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.18379,
    "h": 286.2
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#654FCB
secondary
#CCD5A1
accent
#DE4AC4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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