#654AE9#654AE9

#654AE9 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.227 H 283.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#654AE9
RGBrgb(101, 74, 233)
HSLhsl(250, 78%, 60%)
HSVhsv(250, 68%, 91%)
CMYKcmyk(56.7%, 68.2%, 0%, 8.6%)
CIE-LABlab(43.57, 52.60, -76.62)
CIE-LCHlch(43.57, 92.94, 304.47°)
OKLaboklab(53.63% 0.0526 -0.2205)
OKLCHoklch(53.63% 0.227 283.4)
XYZxyz(22.5191, 13.5460, 78.5030)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AE9 #CEE94A
analogous
#4A7EE9 #654AE9 #B54AE9
triadic
#654AE9 #E9654A #4AE965
tetradic
#654AE9 #E94A7E #CEE94A #4AE9B5
square
#654AE9 #E94A7E #CEE94A #4AE9B5
split-complementary
#654AE9 #E9B54A #7EE94A
monochromatic
#2D14A5 #3B1BDB #654AE9 #9381F0 #C2B7F6

Accessibility & contrast

On white

5.66
#654AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#654AE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AE9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AE9#FFFFFF#000000##FFFFFF
##654AE91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#1D7494
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #654ae9;
/* rgb */ color: rgb(101, 74, 233);
/* oklch */ color: oklch(53.6% 0.227 283.4);
Tailwind
colors: {
  custom: {
    50: '#9d7ff1',
    500: '#654ae9',
    950: '#000000',
  },
}
SCSS
$custom: #654ae9;
$custom-light: #9d7ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#654ae9",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 233
  },
  "hsl": {
    "h": 250.189,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53627,
    "c": 0.22673,
    "h": 283.4
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#654AE9
secondary
#DCE6A9
accent
#DB0BB7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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