#684DEB#684DEB

#684DEB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.225 H 283.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#684DEB
RGBrgb(104, 77, 235)
HSLhsl(250, 80%, 61%)
HSVhsv(250, 67%, 92%)
CMYKcmyk(55.7%, 67.2%, 0%, 7.8%)
CIE-LABlab(44.59, 52.02, -76.09)
CIE-LCHlch(44.59, 92.17, 304.36°)
OKLaboklab(54.47% 0.0538 -0.2189)
OKLCHoklch(54.47% 0.225 283.8)
XYZxyz(23.3536, 14.2475, 80.1006)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DEB #D0EB4D
analogous
#4D81EB #684DEB #B74DEB
triadic
#684DEB #EB684D #4DEB68
tetradic
#684DEB #EB4D81 #D0EB4D #4DEBB7
square
#684DEB #EB4D81 #D0EB4D #4DEBB7
split-complementary
#684DEB #EBB74D #81EB4D
monochromatic
#2D13AA #3C19E1 #684DEB #9784F1 #C5BBF7

Accessibility & contrast

On white

5.45
#684DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#684DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DEB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DEB#FFFFFF#000000##FFFFFF
##684DEB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0064E8
Tritanopia (blue-blind)
#267696
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #684deb;
/* rgb */ color: rgb(104, 77, 235);
/* oklch */ color: oklch(54.5% 0.225 283.8);
Tailwind
colors: {
  custom: {
    50: '#9f81f3',
    500: '#684deb',
    950: '#000000',
  },
}
SCSS
$custom: #684deb;
$custom-light: #9f81f3;
$custom-dark: #000000;
JSON
{
  "hex": "#684deb",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 250.253,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.22541,
    "h": 283.8
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

primary
#684DEB
secondary
#DDE8AC
accent
#DC09B8
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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