#684AE4#684AE4

#684AE4 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.220 H 285.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#684AE4
RGBrgb(104, 74, 228)
HSLhsl(252, 74%, 59%)
HSVhsv(252, 68%, 89%)
CMYKcmyk(54.4%, 67.5%, 0%, 10.6%)
CIE-LABlab(43.42, 51.60, -74.03)
CIE-LCHlch(43.42, 90.24, 304.88°)
OKLaboklab(53.45% 0.0574 -0.2128)
OKLCHoklch(53.45% 0.22 285.1)
XYZxyz(22.1571, 13.4408, 74.8106)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AE4 #C6E44A
analogous
#4A79E4 #684AE4 #B54AE4
triadic
#684AE4 #E4684A #4AE468
tetradic
#684AE4 #E44A79 #C6E44A #4AE4B5
square
#684AE4 #E44A79 #C6E44A #4AE4B5
split-complementary
#684AE4 #E4B54A #79E44A
monochromatic
#31179C #421FD2 #684AE4 #947FEC #C1B5F4

Accessibility & contrast

On white

5.69
#684AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#684AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AE4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AE4#FFFFFF#000000##FFFFFF
##684AE41.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#307291
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684ae4;
/* rgb */ color: rgb(104, 74, 228);
/* oklch */ color: oklch(53.5% 0.220 285.1);
Tailwind
colors: {
  custom: {
    50: '#9e7fee',
    500: '#684ae4',
    950: '#000000',
  },
}
SCSS
$custom: #684ae4;
$custom-light: #9e7fee;
$custom-dark: #000000;
JSON
{
  "hex": "#684ae4",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 251.688,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53452,
    "c": 0.22046,
    "h": 285.1
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#684AE4
secondary
#D7E3A7
accent
#F137CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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