#654095#654095

#654095 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.6% C 0.136 H 301.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#654095
RGBrgb(101, 64, 149)
HSLhsl(266, 40%, 42%)
HSVhsv(266, 57%, 58%)
CMYKcmyk(32.2%, 57%, 0%, 41.6%)
CIE-LABlab(35.21, 34.38, -41.01)
CIE-LCHlch(35.21, 53.51, 309.97°)
OKLaboklab(45.59% 0.0705 -0.1159)
OKLCHoklch(45.59% 0.136 301.3)
XYZxyz(12.6238, 8.6034, 29.4235)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654095 #709540
analogous
#404695 #654095 #904095
triadic
#654095 #956540 #409565
tetradic
#654095 #954046 #709540 #409590
square
#654095 #954046 #709540 #409590
split-complementary
#654095 #959040 #469540
monochromatic
#2B1B3F #482E6A #654095 #835AB8 #A385CB

Accessibility & contrast

On white

7.72
#654095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#654095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654095
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654095#FFFFFF#000000##FFFFFF
##6540951.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5298
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#5B5164
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #654095;
/* rgb */ color: rgb(101, 64, 149);
/* oklch */ color: oklch(45.6% 0.136 301.3);
Tailwind
colors: {
  custom: {
    50: '#9476b5',
    500: '#654095',
    950: '#000000',
  },
}
SCSS
$custom: #654095;
$custom-light: #9476b5;
$custom-dark: #000000;
JSON
{
  "hex": "#654095",
  "rgb": {
    "r": 101,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 266.118,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45593,
    "c": 0.13565,
    "h": 301.3
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#654095
secondary
#9CB57C
accent
#D0589C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #654095

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

Preview Lab → · Contrast checker → · Palette generator →

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