#654CBF#654CBF

#654CBF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.172 H 288.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#654CBF
RGBrgb(101, 76, 191)
HSLhsl(253, 47%, 52%)
HSVhsv(253, 60%, 75%)
CMYKcmyk(47.1%, 60.2%, 0%, 25.1%)
CIE-LABlab(40.73, 39.12, -57.13)
CIE-LCHlch(40.73, 69.24, 304.40°)
OKLaboklab(50.55% 0.0552 -0.1633)
OKLCHoklch(50.55% 0.172 288.7)
XYZxyz(17.3525, 11.6965, 50.6235)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CBF #A6BF4C
analogous
#4C6DBF #654CBF #9E4CBF
triadic
#654CBF #BF654C #4CBF65
tetradic
#654CBF #BF4C6D #A6BF4C #4CBF9E
square
#654CBF #BF4C6D #A6BF4C #4CBF9E
split-complementary
#654CBF #BF9E4C #6DBF4C
monochromatic
#35266B #4B3698 #654CBF #8C79CF #B3A6DF

Accessibility & contrast

On white

6.29
#654CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#654CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CBF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CBF#FFFFFF#000000##FFFFFF
##654CBF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#48667E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654cbf;
/* rgb */ color: rgb(101, 76, 191);
/* oklch */ color: oklch(50.5% 0.172 288.7);
Tailwind
colors: {
  custom: {
    50: '#977fd3',
    500: '#654cbf',
    950: '#000000',
  },
}
SCSS
$custom: #654cbf;
$custom-light: #977fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#654cbf",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 253.043,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.17236,
    "h": 288.7
  },
  "luminance": 0.11697
}

Semantic roles & 50–950 ramp

primary
#654CBF
secondary
#C2CC9A
accent
#D751BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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