#654AF8#654AF8

#654AF8 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.9% C 0.244 H 281.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#654AF8
RGBrgb(101, 74, 248)
HSLhsl(249, 93%, 63%)
HSVhsv(249, 70%, 97%)
CMYKcmyk(59.3%, 70.2%, 0%, 2.7%)
CIE-LABlab(44.86, 56.99, -82.96)
CIE-LCHlch(44.86, 100.65, 304.49°)
OKLaboklab(54.94% 0.05 -0.2391)
OKLCHoklch(54.94% 0.244 281.8)
XYZxyz(24.7536, 14.4398, 90.2715)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AF8 #DDF84A
analogous
#4A86F8 #654AF8 #BC4AF8
triadic
#654AF8 #F8654A #4AF865
tetradic
#654AF8 #F84A86 #DDF84A #4AF8BC
square
#654AF8 #F84A86 #DDF84A #4AF8BC
split-complementary
#654AF8 #F8BC4A #86F84A
monochromatic
#2407C0 #330FF6 #654AF8 #9785FA #C9C0FD

Accessibility & contrast

On white

5.40
#654AF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#654AF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AF8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AF8#FFFFFF#000000##FFFFFF
##654AF81.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FD
Deuteranopia (green-blind)
#0064F5
Tritanopia (blue-blind)
#00799C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #654af8;
/* rgb */ color: rgb(101, 74, 248);
/* oklch */ color: oklch(54.9% 0.244 281.8);
Tailwind
colors: {
  custom: {
    50: '#a07ffc',
    500: '#654af8',
    950: '#000000',
  },
}
SCSS
$custom: #654af8;
$custom-light: #a07ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#654af8",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 248
  },
  "hsl": {
    "h": 249.31,
    "s": 92.553,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54936,
    "c": 0.24428,
    "h": 281.8
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#654AF8
secondary
#E4EEB0
accent
#E600C2
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #654AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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