#604AC8#604AC8

#604AC8 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.5% C 0.187 H 285.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#604AC8
RGBrgb(96, 74, 200)
HSLhsl(250, 53%, 54%)
HSVhsv(250, 63%, 78%)
CMYKcmyk(52%, 63%, 0%, 21.6%)
CIE-LABlab(40.50, 41.98, -62.76)
CIE-LCHlch(40.50, 75.51, 303.77°)
OKLaboklab(50.48% 0.0501 -0.18)
OKLCHoklch(50.48% 0.187 285.6)
XYZxyz(17.6949, 11.5536, 55.9301)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AC8 #B2C84A
analogous
#4A73C8 #604AC8 #9F4AC8
triadic
#604AC8 #C8604A #4AC860
tetradic
#604AC8 #C84A73 #B2C84A #4AC89F
square
#604AC8 #C84A73 #B2C84A #4AC89F
split-complementary
#604AC8 #C89F4A #73C84A
monochromatic
#312374 #4532A3 #604AC8 #8979D6 #B2A8E5

Accessibility & contrast

On white

6.34
#604AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#604AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AC8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AC8#FFFFFF#000000##FFFFFF
##604AC81.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#376882
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604ac8;
/* rgb */ color: rgb(96, 74, 200);
/* oklch */ color: oklch(50.5% 0.187 285.6);
Tailwind
colors: {
  custom: {
    50: '#967eda',
    500: '#604ac8',
    950: '#000000',
  },
}
SCSS
$custom: #604ac8;
$custom-light: #967eda;
$custom-dark: #000000;
JSON
{
  "hex": "#604ac8",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 250.476,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50479,
    "c": 0.18686,
    "h": 285.6
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#604AC8
secondary
#C8D29C
accent
#DD4BC3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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