#654BCF#654BCF

#654BCF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.194 H 286.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#654BCF
RGBrgb(101, 75, 207)
HSLhsl(252, 58%, 55%)
HSVhsv(252, 64%, 81%)
CMYKcmyk(51.2%, 63.8%, 0%, 18.8%)
CIE-LABlab(41.69, 44.40, -64.85)
CIE-LCHlch(41.69, 78.59, 304.40°)
OKLaboklab(51.63% 0.0551 -0.186)
OKLCHoklch(51.63% 0.194 286.5)
XYZxyz(19.1421, 12.3029, 60.3855)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BCF #B5CF4B
analogous
#4B73CF #654BCF #A74BCF
triadic
#654BCF #CF654B #4BCF65
tetradic
#654BCF #CF4B73 #B5CF4B #4BCFA7
square
#654BCF #CF4B73 #B5CF4B #4BCFA7
split-complementary
#654BCF #CFA74B #73CF4B
monochromatic
#34227E #482EAE #654BCF #8E7BDC #B8ACE9

Accessibility & contrast

On white

6.07
#654BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#654BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BCF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BCF#FFFFFF#000000##FFFFFF
##654BCF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#3D6B86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654bcf;
/* rgb */ color: rgb(101, 75, 207);
/* oklch */ color: oklch(51.6% 0.194 286.5);
Tailwind
colors: {
  custom: {
    50: '#9a7fdf',
    500: '#654bcf',
    950: '#000000',
  },
}
SCSS
$custom: #654bcf;
$custom-light: #9a7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#654bcf",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 251.818,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.19397,
    "h": 286.5
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#654BCF
secondary
#CCD69F
accent
#E147C3
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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