#684CEF#684CEF

#684CEF is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.231 H 283.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#684CEF
RGBrgb(104, 76, 239)
HSLhsl(250, 84%, 62%)
HSVhsv(250, 68%, 94%)
CMYKcmyk(56.5%, 68.2%, 0%, 6.3%)
CIE-LABlab(44.72, 53.73, -78.12)
CIE-LCHlch(44.72, 94.81, 304.52°)
OKLaboklab(54.66% 0.054 -0.2248)
OKLCHoklch(54.66% 0.231 283.5)
XYZxyz(23.8686, 14.3424, 83.1552)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CEF #D3EF4C
analogous
#4C82EF #684CEF #BA4CEF
triadic
#684CEF #EF684C #4CEF68
tetradic
#684CEF #EF4C82 #D3EF4C #4CEFBA
square
#684CEF #EF4C82 #D3EF4C #4CEFBA
split-complementary
#684CEF #EFBA4C #82EF4C
monochromatic
#2B10B1 #3915E9 #684CEF #9784F4 #C7BCF9

Accessibility & contrast

On white

5.43
#684CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#684CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CEF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CEF#FFFFFF#000000##FFFFFF
##684CEF1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#1F7798
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #684cef;
/* rgb */ color: rgb(104, 76, 239);
/* oklch */ color: oklch(54.7% 0.231 283.5);
Tailwind
colors: {
  custom: {
    50: '#a080f5',
    500: '#684cef',
    950: '#000000',
  },
}
SCSS
$custom: #684cef;
$custom-light: #a080f5;
$custom-dark: #000000;
JSON
{
  "hex": "#684cef",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 239
  },
  "hsl": {
    "h": 250.307,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.23125,
    "h": 283.5
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#684CEF
secondary
#DFEAAD
accent
#E005BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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