#684EFE#684EFE

#684EFE is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 56.2% C 0.247 H 281.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#684EFE
RGBrgb(104, 78, 254)
HSLhsl(249, 99%, 65%)
HSVhsv(249, 69%, 100%)
CMYKcmyk(59.1%, 69.3%, 0%, 0.4%)
CIE-LABlab(46.37, 57.04, -83.81)
CIE-LCHlch(46.37, 101.38, 304.24°)
OKLaboklab(56.24% 0.05 -0.2415)
OKLCHoklch(56.24% 0.247 281.7)
XYZxyz(26.3171, 15.5458, 95.3605)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EFE #E4FE4E
analogous
#4E8CFE #684EFE #C04EFE
triadic
#684EFE #FE684E #4EFE68
tetradic
#684EFE #FE4E8C #E4FE4E #4EFEC0
square
#684EFE #FE4E8C #E4FE4E #4EFEC0
split-complementary
#684EFE #FEC04E #8CFE4E
monochromatic
#2001D0 #3411FE #684EFE #9C8BFE #D0C8FF

Accessibility & contrast

On white

5.11
#684EFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#684EFE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EFE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EFE#FFFFFF#000000##FFFFFF
##684EFE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0067FB
Tritanopia (blue-blind)
#007DA1
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #684efe;
/* rgb */ color: rgb(104, 78, 254);
/* oklch */ color: oklch(56.2% 0.247 281.7);
Tailwind
colors: {
  custom: {
    50: '#a282ff',
    500: '#684efe',
    950: '#000000',
  },
}
SCSS
$custom: #684efe;
$custom-light: #a282ff;
$custom-dark: #000000;
JSON
{
  "hex": "#684efe",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 254
  },
  "hsl": {
    "h": 248.864,
    "s": 98.876,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.24665,
    "h": 281.7
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#684EFE
secondary
#E9F2B6
accent
#E600C4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #684EFE

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

Preview Lab → · Contrast checker → · Palette generator →

#684EFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva