#654288#654288

#654288 is a mid, moderate violet. Relative luminance 0.084; OKLCH L 45.1% C 0.115 H 305.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#654288
RGBrgb(101, 66, 136)
HSLhsl(270, 35%, 40%)
HSVhsv(270, 51%, 53%)
CMYKcmyk(25.7%, 51.5%, 0%, 46.7%)
CIE-LABlab(34.88, 29.81, -33.58)
CIE-LCHlch(34.88, 44.90, 311.59°)
OKLaboklab(45.1% 0.0668 -0.0942)
OKLCHoklch(45.1% 0.115 305.3)
XYZxyz(11.7580, 8.4408, 24.2976)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654288 #658842
analogous
#424288 #654288 #884288
triadic
#654288 #886542 #428865
tetradic
#654288 #884242 #658842 #428888
square
#654288 #884242 #658842 #428888
split-complementary
#654288 #888842 #428842
monochromatic
#281A36 #462E5F #654288 #8459AE #A282C2

Accessibility & contrast

On white

7.81
#654288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#654288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654288
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654288#FFFFFF#000000##FFFFFF
##6542881.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D518A
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#5F4E5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #654288;
/* rgb */ color: rgb(101, 66, 136);
/* oklch */ color: oklch(45.1% 0.115 305.3);
Tailwind
colors: {
  custom: {
    50: '#9377ab',
    500: '#654288',
    950: '#000000',
  },
}
SCSS
$custom: #654288;
$custom-light: #9377ab;
$custom-dark: #000000;
JSON
{
  "hex": "#654288",
  "rgb": {
    "r": 101,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 270,
    "s": 34.653,
    "l": 39.608
  },
  "oklch": {
    "l": 0.451,
    "c": 0.11544,
    "h": 305.3
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#654288
secondary
#93AD79
accent
#CB5D94
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #654288

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

Preview Lab → · Contrast checker → · Palette generator →

#654288 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva