#654FE6#654FE6

#654FE6 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.1% C 0.217 H 283.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#654FE6
RGBrgb(101, 79, 230)
HSLhsl(249, 75%, 61%)
HSVhsv(249, 66%, 90%)
CMYKcmyk(56.1%, 65.7%, 0%, 9.8%)
CIE-LABlab(44.33, 48.98, -73.68)
CIE-LCHlch(44.33, 88.47, 303.61°)
OKLaboklab(54.1% 0.0489 -0.2119)
OKLCHoklch(54.1% 0.217 283)
XYZxyz(22.4413, 14.0704, 76.3809)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FE6 #D0E64F
analogous
#4F84E6 #654FE6 #B14FE6
triadic
#654FE6 #E6654F #4FE665
tetradic
#654FE6 #E64F84 #D0E64F #4FE6B1
square
#654FE6 #E64F84 #D0E64F #4FE6B1
split-complementary
#654FE6 #E6B14F #84E64F
monochromatic
#2C17A3 #3A1FD9 #654FE6 #9485EE #C3BAF5

Accessibility & contrast

On white

5.51
#654FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#654FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FE6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FE6#FFFFFF#000000##FFFFFF
##654FE61.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#227594
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #654fe6;
/* rgb */ color: rgb(101, 79, 230);
/* oklch */ color: oklch(54.1% 0.217 283.0);
Tailwind
colors: {
  custom: {
    50: '#9d82ef',
    500: '#654fe6',
    950: '#000000',
  },
}
SCSS
$custom: #654fe6;
$custom-light: #9d82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#654fe6",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 248.742,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54097,
    "c": 0.21749,
    "h": 283
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#654FE6
secondary
#DDE5AC
accent
#D70EBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #654FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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