#654DD9#654DD9

#654DD9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.7% C 0.204 H 284.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#654DD9
RGBrgb(101, 77, 217)
HSLhsl(250, 65%, 58%)
HSVhsv(250, 65%, 85%)
CMYKcmyk(53.5%, 64.5%, 0%, 14.9%)
CIE-LABlab(42.89, 46.23, -68.64)
CIE-LCHlch(42.89, 82.76, 303.96°)
OKLaboklab(52.73% 0.0522 -0.1971)
OKLCHoklch(52.73% 0.204 284.8)
XYZxyz(20.5413, 13.0831, 67.0751)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DD9 #C1D94D
analogous
#4D7BD9 #654DD9 #AB4DD9
triadic
#654DD9 #D9654D #4DD965
tetradic
#654DD9 #D94D7B #C1D94D #4DD9AB
square
#654DD9 #D94D7B #C1D94D #4DD9AB
split-complementary
#654DD9 #D9AB4D #7BD94D
monochromatic
#311E8D #4329C0 #654DD9 #917FE4 #BCB2EF

Accessibility & contrast

On white

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

On black

3.62
#654DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##654DD9#FFFFFF#000000##FFFFFF
##654DD91.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#33708C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654dd9;
/* rgb */ color: rgb(101, 77, 217);
/* oklch */ color: oklch(52.7% 0.204 284.8);
Tailwind
colors: {
  custom: {
    50: '#9b80e6',
    500: '#654dd9',
    950: '#000000',
  },
}
SCSS
$custom: #654dd9;
$custom-light: #9b80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#654dd9",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 250.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.20392,
    "h": 284.8
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#654DD9
secondary
#D3DDA5
accent
#E840CB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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