#604AC7#604AC7

#604AC7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.4% C 0.186 H 285.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#604AC7
RGBrgb(96, 74, 199)
HSLhsl(251, 53%, 54%)
HSVhsv(251, 63%, 78%)
CMYKcmyk(51.8%, 62.8%, 0%, 22%)
CIE-LABlab(40.42, 41.68, -62.31)
CIE-LCHlch(40.42, 74.96, 303.78°)
OKLaboklab(50.4% 0.0502 -0.1787)
OKLCHoklch(50.4% 0.186 285.7)
XYZxyz(17.5784, 11.5070, 55.3166)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AC7 #B1C74A
analogous
#4A72C7 #604AC7 #9E4AC7
triadic
#604AC7 #C7604A #4AC760
tetradic
#604AC7 #C74A72 #B1C74A #4AC79E
square
#604AC7 #C74A72 #B1C74A #4AC79E
split-complementary
#604AC7 #C79E4A #72C74A
monochromatic
#322473 #4632A2 #604AC7 #8979D5 #B2A7E4

Accessibility & contrast

On white

6.36
#604AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#604AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AC7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AC7#FFFFFF#000000##FFFFFF
##604AC71.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#386882
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604ac7;
/* rgb */ color: rgb(96, 74, 199);
/* oklch */ color: oklch(50.4% 0.186 285.7);
Tailwind
colors: {
  custom: {
    50: '#967ed9',
    500: '#604ac7',
    950: '#000000',
  },
}
SCSS
$custom: #604ac7;
$custom-light: #967ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#604ac7",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 250.56,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.504,
    "c": 0.18558,
    "h": 285.7
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

primary
#604AC7
secondary
#C8D19C
accent
#DC4CC3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604AC7

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

Preview Lab → · Contrast checker → · Palette generator →

#604AC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva