#654C90#654C90

#654C90 is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.4% C 0.109 H 299.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#654C90
RGBrgb(101, 76, 144)
HSLhsl(262, 31%, 43%)
HSVhsv(262, 47%, 56%)
CMYKcmyk(29.9%, 47.2%, 0%, 43.5%)
CIE-LABlab(37.75, 25.83, -33.93)
CIE-LCHlch(37.75, 42.64, 307.28°)
OKLaboklab(47.39% 0.0531 -0.0952)
OKLCHoklch(47.39% 0.109 299.2)
XYZxyz(12.9841, 9.9491, 27.6165)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654C90 #77904C
analogous
#4C5590 #654C90 #874C90
triadic
#654C90 #90654C #4C9065
tetradic
#654C90 #904C55 #77904C #4C9087
square
#654C90 #904C55 #77904C #4C9087
split-complementary
#654C90 #90874C #55904C
monochromatic
#2D2240 #493768 #654C90 #8369B0 #A491C5

Accessibility & contrast

On white

7.02
#654C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#654C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654C90
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654C90#FFFFFF#000000##FFFFFF
##654C901.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375992
Deuteranopia (green-blind)
#3D588E
Tritanopia (blue-blind)
#5C5867
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #654c90;
/* rgb */ color: rgb(101, 76, 144);
/* oklch */ color: oklch(47.4% 0.109 299.2);
Tailwind
colors: {
  custom: {
    50: '#937eb1',
    500: '#654c90',
    950: '#000000',
  },
}
SCSS
$custom: #654c90;
$custom-light: #937eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#654c90",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 144
  },
  "hsl": {
    "h": 262.059,
    "s": 30.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47387,
    "c": 0.10904,
    "h": 299.2
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#654C90
secondary
#A2B186
accent
#C761A1
background
#F9F7FA
surface
#F1EEF5
border
#CBC9CF
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #654C90

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

Preview Lab → · Contrast checker → · Palette generator →

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