#654CE3#654CE3

#654CE3 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.4% C 0.217 H 283.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#654CE3
RGBrgb(101, 76, 227)
HSLhsl(250, 73%, 59%)
HSVhsv(250, 67%, 89%)
CMYKcmyk(55.5%, 66.5%, 0%, 11%)
CIE-LABlab(43.48, 49.75, -73.38)
CIE-LCHlch(43.48, 88.65, 304.13°)
OKLaboklab(53.41% 0.0519 -0.211)
OKLCHoklch(53.41% 0.217 283.8)
XYZxyz(21.8122, 13.4803, 74.1107)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CE3 #CAE34C
analogous
#4C7FE3 #654CE3 #B14CE3
triadic
#654CE3 #E3654C #4CE365
tetradic
#654CE3 #E34C7F #CAE34C #4CE3B1
square
#654CE3 #E34C7F #CAE34C #4CE3B1
split-complementary
#654CE3 #E3B14C #7FE34C
monochromatic
#2E189C #3E21D1 #654CE3 #9381EB #C0B6F4

Accessibility & contrast

On white

5.68
#654CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#654CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CE3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CE3#FFFFFF#000000##FFFFFF
##654CE31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#277391
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #654ce3;
/* rgb */ color: rgb(101, 76, 227);
/* oklch */ color: oklch(53.4% 0.217 283.8);
Tailwind
colors: {
  custom: {
    50: '#9c80ed',
    500: '#654ce3',
    950: '#000000',
  },
}
SCSS
$custom: #654ce3;
$custom-light: #9c80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#654ce3",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 249.934,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.21731,
    "h": 283.8
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#654CE3
secondary
#D9E3A8
accent
#F038D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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