#684ED5#684ED5

#684ED5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.197 H 286.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#684ED5
RGBrgb(104, 78, 213)
HSLhsl(252, 62%, 57%)
HSVhsv(252, 63%, 84%)
CMYKcmyk(51.2%, 63.4%, 0%, 16.5%)
CIE-LABlab(43.06, 45.01, -66.07)
CIE-LCHlch(43.06, 79.94, 304.27°)
OKLaboklab(52.82% 0.0556 -0.1895)
OKLCHoklch(52.82% 0.197 286.4)
XYZxyz(20.4400, 13.1949, 64.4077)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ED5 #BBD54E
analogous
#4E77D5 #684ED5 #AC4ED5
triadic
#684ED5 #D5684E #4ED568
tetradic
#684ED5 #D54E77 #BBD54E #4ED5AC
square
#684ED5 #D54E77 #BBD54E #4ED5AC
split-complementary
#684ED5 #D5AC4E #77D54E
monochromatic
#342088 #472CBA #684ED5 #927FE1 #BCB1EC

Accessibility & contrast

On white

5.77
#684ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#684ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ED5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ED5#FFFFFF#000000##FFFFFF
##684ED51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#3F6F8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684ed5;
/* rgb */ color: rgb(104, 78, 213);
/* oklch */ color: oklch(52.8% 0.197 286.4);
Tailwind
colors: {
  custom: {
    50: '#9c81e3',
    500: '#684ed5',
    950: '#000000',
  },
}
SCSS
$custom: #684ed5;
$custom-light: #9c81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#684ed5",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 251.556,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52822,
    "c": 0.19746,
    "h": 286.4
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#684ED5
secondary
#D0DBA4
accent
#E543C6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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