#604EF6#604EF6

#604EF6 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.9% C 0.239 H 279.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#604EF6
RGBrgb(96, 78, 246)
HSLhsl(246, 90%, 64%)
HSVhsv(246, 68%, 96%)
CMYKcmyk(61%, 68.3%, 0%, 3.5%)
CIE-LABlab(45.06, 53.60, -81.51)
CIE-LCHlch(45.06, 97.56, 303.33°)
OKLaboklab(54.93% 0.041 -0.235)
OKLCHoklch(54.93% 0.239 279.9)
XYZxyz(24.1775, 14.5876, 88.7125)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EF6 #E4F64E
analogous
#4E90F6 #604EF6 #B44EF6
triadic
#604EF6 #F6604E #4EF660
tetradic
#604EF6 #F64E90 #E4F64E #4EF6B4
square
#604EF6 #F64E90 #E4F64E #4EF6B4
split-complementary
#604EF6 #F6B44E #90F64E
monochromatic
#1D0AC0 #2C14F3 #604EF6 #9488F9 #C9C2FC

Accessibility & contrast

On white

5.36
#604EF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#604EF6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EF6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EF6#FFFFFF#000000##FFFFFF
##604EF61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FB
Deuteranopia (green-blind)
#0064F3
Tritanopia (blue-blind)
#007B9C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #604ef6;
/* rgb */ color: rgb(96, 78, 246);
/* oklch */ color: oklch(54.9% 0.239 279.9);
Tailwind
colors: {
  custom: {
    50: '#9d81fa',
    500: '#604ef6',
    950: '#000000',
  },
}
SCSS
$custom: #604ef6;
$custom-light: #9d81fa;
$custom-dark: #000000;
JSON
{
  "hex": "#604ef6",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 246
  },
  "hsl": {
    "h": 246.429,
    "s": 90.323,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54933,
    "c": 0.23857,
    "h": 279.9
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#604EF6
secondary
#E7EEB2
accent
#E600CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #604EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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