#684DE8#684DE8

#684DE8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.222 H 284.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#684DE8
RGBrgb(104, 77, 232)
HSLhsl(250, 77%, 61%)
HSVhsv(250, 67%, 91%)
CMYKcmyk(55.2%, 66.8%, 0%, 9%)
CIE-LABlab(44.34, 51.14, -74.79)
CIE-LCHlch(44.34, 90.61, 304.36°)
OKLaboklab(54.22% 0.0543 -0.2151)
OKLCHoklch(54.22% 0.222 284.2)
XYZxyz(22.9238, 14.0756, 77.8372)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DE8 #CDE84D
analogous
#4D7FE8 #684DE8 #B64DE8
triadic
#684DE8 #E8684D #4DE868
tetradic
#684DE8 #E84D7F #CDE84D #4DE8B6
square
#684DE8 #E84D7F #CDE84D #4DE8B6
split-complementary
#684DE8 #E8B64D #7FE84D
monochromatic
#2E15A5 #3E1CDB #684DE8 #9683EF #C4B9F6

Accessibility & contrast

On white

5.50
#684DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#684DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DE8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DE8#FFFFFF#000000##FFFFFF
##684DE81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#2B7594
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #684de8;
/* rgb */ color: rgb(104, 77, 232);
/* oklch */ color: oklch(54.2% 0.222 284.2);
Tailwind
colors: {
  custom: {
    50: '#9f81f0',
    500: '#684de8',
    950: '#000000',
  },
}
SCSS
$custom: #684de8;
$custom-light: #9f81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#684de8",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 250.452,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.22183,
    "h": 284.2
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#684DE8
secondary
#DCE6AB
accent
#D90CB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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