#654094#654094

#654094 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.5% C 0.134 H 301.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#654094
RGBrgb(101, 64, 148)
HSLhsl(266, 40%, 42%)
HSVhsv(266, 57%, 58%)
CMYKcmyk(31.8%, 56.8%, 0%, 42%)
CIE-LABlab(35.15, 34.11, -40.50)
CIE-LCHlch(35.15, 52.95, 310.10°)
OKLaboklab(45.53% 0.0704 -0.1144)
OKLCHoklch(45.53% 0.134 301.6)
XYZxyz(12.5443, 8.5716, 29.0048)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654094 #6F9440
analogous
#404594 #654094 #8F4094
triadic
#654094 #946540 #409465
tetradic
#654094 #944045 #6F9440 #40948F
square
#654094 #944045 #6F9440 #40948F
split-complementary
#654094 #948F40 #459440
monochromatic
#2B1B3F #482E69 #654094 #835AB8 #A384CA

Accessibility & contrast

On white

7.74
#654094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#654094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654094
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654094#FFFFFF#000000##FFFFFF
##6540941.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5297
Deuteranopia (green-blind)
#2B5292
Tritanopia (blue-blind)
#5C5063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #654094;
/* rgb */ color: rgb(101, 64, 148);
/* oklch */ color: oklch(45.5% 0.134 301.6);
Tailwind
colors: {
  custom: {
    50: '#9476b4',
    500: '#654094',
    950: '#000000',
  },
}
SCSS
$custom: #654094;
$custom-light: #9476b4;
$custom-dark: #000000;
JSON
{
  "hex": "#654094",
  "rgb": {
    "r": 101,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 266.429,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.13436,
    "h": 301.6
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#654094
secondary
#9BB47B
accent
#D0589B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #654094

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

Preview Lab → · Contrast checker → · Palette generator →

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