#654FD2#654FD2

#654FD2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.193 H 285.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#654FD2
RGBrgb(101, 79, 210)
HSLhsl(250, 59%, 57%)
HSVhsv(250, 62%, 82%)
CMYKcmyk(51.9%, 62.4%, 0%, 17.6%)
CIE-LABlab(42.78, 43.00, -64.81)
CIE-LCHlch(42.78, 77.78, 303.57°)
OKLaboklab(52.49% 0.0509 -0.1858)
OKLCHoklch(52.49% 0.193 285.3)
XYZxyz(19.7922, 13.0108, 62.4287)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FD2 #BCD24F
analogous
#4F7BD2 #654FD2 #A64FD2
triadic
#654FD2 #D2654F #4FD265
tetradic
#654FD2 #D24F7B #BCD24F #4FD2A6
square
#654FD2 #D24F7B #BCD24F #4FD2A6
split-complementary
#654FD2 #D2A64F #7BD24F
monochromatic
#332285 #452EB5 #654FD2 #9080DE #BAB0EB

Accessibility & contrast

On white

5.83
#654FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#654FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FD2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FD2#FFFFFF#000000##FFFFFF
##654FD21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#3A6F89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654fd2;
/* rgb */ color: rgb(101, 79, 210);
/* oklch */ color: oklch(52.5% 0.193 285.3);
Tailwind
colors: {
  custom: {
    50: '#9a81e1',
    500: '#654fd2',
    950: '#000000',
  },
}
SCSS
$custom: #654fd2;
$custom-light: #9a81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#654fd2",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 250.076,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52485,
    "c": 0.1927,
    "h": 285.3
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#654FD2
secondary
#D0D9A4
accent
#E245C8
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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