#654FBC#654FBC

#654FBC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.8% C 0.164 H 288.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#654FBC
RGBrgb(101, 79, 188)
HSLhsl(252, 45%, 52%)
HSVhsv(252, 58%, 74%)
CMYKcmyk(46.3%, 58%, 0%, 26.3%)
CIE-LABlab(41.20, 36.47, -54.62)
CIE-LCHlch(41.20, 65.68, 303.73°)
OKLaboklab(50.83% 0.0519 -0.1559)
OKLCHoklch(50.83% 0.164 288.4)
XYZxyz(17.2373, 11.9888, 48.9730)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FBC #A6BC4F
analogous
#4F70BC #654FBC #9B4FBC
triadic
#654FBC #BC654F #4FBC65
tetradic
#654FBC #BC4F70 #A6BC4F #4FBC9B
square
#654FBC #BC4F70 #A6BC4F #4FBC9B
split-complementary
#654FBC #BC9B4F #70BC4F
monochromatic
#352869 #4B3995 #654FBC #8C7BCD #B3A8DE

Accessibility & contrast

On white

6.18
#654FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#654FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FBC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FBC#FFFFFF#000000##FFFFFF
##654FBC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#015EBA
Tritanopia (blue-blind)
#49677E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654fbc;
/* rgb */ color: rgb(101, 79, 188);
/* oklch */ color: oklch(50.8% 0.164 288.4);
Tailwind
colors: {
  custom: {
    50: '#9781d1',
    500: '#654fbc',
    950: '#000000',
  },
}
SCSS
$custom: #654fbc;
$custom-light: #9781d1;
$custom-dark: #000000;
JSON
{
  "hex": "#654fbc",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 252.11,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.16431,
    "h": 288.4
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#654FBC
secondary
#C2CB9C
accent
#D553BA
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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