#654FD3#654FD3

#654FD3 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.194 H 285.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#654FD3
RGBrgb(101, 79, 211)
HSLhsl(250, 60%, 57%)
HSVhsv(250, 63%, 83%)
CMYKcmyk(52.1%, 62.6%, 0%, 17.3%)
CIE-LABlab(42.85, 43.30, -65.26)
CIE-LCHlch(42.85, 78.32, 303.56°)
OKLaboklab(52.56% 0.0509 -0.1872)
OKLCHoklch(52.56% 0.194 285.2)
XYZxyz(19.9172, 13.0608, 63.0869)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FD3 #BDD34F
analogous
#4F7BD3 #654FD3 #A74FD3
triadic
#654FD3 #D3654F #4FD365
tetradic
#654FD3 #D34F7B #BDD34F #4FD3A7
square
#654FD3 #D34F7B #BDD34F #4FD3A7
split-complementary
#654FD3 #D3A74F #7BD34F
monochromatic
#322286 #452EB7 #654FD3 #9080DF #BBB1EB

Accessibility & contrast

On white

5.81
#654FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#654FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FD3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FD3#FFFFFF#000000##FFFFFF
##654FD31.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#396F8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654fd3;
/* rgb */ color: rgb(101, 79, 211);
/* oklch */ color: oklch(52.6% 0.194 285.2);
Tailwind
colors: {
  custom: {
    50: '#9a81e1',
    500: '#654fd3',
    950: '#000000',
  },
}
SCSS
$custom: #654fd3;
$custom-light: #9a81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#654fd3",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 250,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52564,
    "c": 0.19396,
    "h": 285.2
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#654FD3
secondary
#D1DAA4
accent
#E345C9
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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