#654ABC#654ABC

#654ABC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.171 H 289.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#654ABC
RGBrgb(101, 74, 188)
HSLhsl(254, 46%, 51%)
HSVhsv(254, 61%, 74%)
CMYKcmyk(46.3%, 60.6%, 0%, 26.3%)
CIE-LABlab(40.07, 39.41, -56.44)
CIE-LCHlch(40.07, 68.84, 304.93°)
OKLaboklab(50% 0.0576 -0.1612)
OKLCHoklch(50% 0.171 289.7)
XYZxyz(16.8901, 11.2945, 48.8573)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ABC #A1BC4A
analogous
#4A68BC #654ABC #9E4ABC
triadic
#654ABC #BC654A #4ABC65
tetradic
#654ABC #BC4A68 #A1BC4A #4ABC9E
square
#654ABC #BC4A68 #A1BC4A #4ABC9E
split-complementary
#654ABC #BC9E4A #68BC4A
monochromatic
#352666 #4C3693 #654ABC #8B77CD #B1A3DD

Accessibility & contrast

On white

6.44
#654ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#654ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654ABC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ABC#FFFFFF#000000##FFFFFF
##654ABC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#4A647C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654abc;
/* rgb */ color: rgb(101, 74, 188);
/* oklch */ color: oklch(50.0% 0.171 289.7);
Tailwind
colors: {
  custom: {
    50: '#977ed1',
    500: '#654abc',
    950: '#000000',
  },
}
SCSS
$custom: #654abc;
$custom-light: #977ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#654abc",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 254.211,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.17123,
    "h": 289.7
  },
  "luminance": 0.11295
}

Semantic roles & 50–950 ramp

primary
#654ABC
secondary
#BECA98
accent
#D652B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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