#684AEB#684AEB

#684AEB is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.229 H 284.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#684AEB
RGBrgb(104, 74, 235)
HSLhsl(251, 80%, 61%)
HSVhsv(251, 69%, 92%)
CMYKcmyk(55.7%, 68.5%, 0%, 7.8%)
CIE-LABlab(44.00, 53.63, -77.05)
CIE-LCHlch(44.00, 93.88, 304.84°)
OKLaboklab(54.05% 0.0563 -0.2217)
OKLCHoklch(54.05% 0.229 284.2)
XYZxyz(23.1485, 13.8374, 80.0322)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AEB #CDEB4A
analogous
#4A7CEB #684AEB #B84AEB
triadic
#684AEB #EB684A #4AEB68
tetradic
#684AEB #EB4A7C #CDEB4A #4AEBB8
square
#684AEB #EB4A7C #CDEB4A #4AEBB8
split-complementary
#684AEB #EBB84A #7CEB4A
monochromatic
#2E13A8 #3E19DF #684AEB #9681F1 #C4B8F7

Accessibility & contrast

On white

5.57
#684AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#684AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AEB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AEB#FFFFFF#000000##FFFFFF
##684AEB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#0063E8
Tritanopia (blue-blind)
#277495
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684aeb;
/* rgb */ color: rgb(104, 74, 235);
/* oklch */ color: oklch(54.0% 0.229 284.2);
Tailwind
colors: {
  custom: {
    50: '#9f7ff3',
    500: '#684aeb',
    950: '#000000',
  },
}
SCSS
$custom: #684aeb;
$custom-light: #9f7ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#684aeb",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 251.18,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.22874,
    "h": 284.2
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#684AEB
secondary
#DCE7AA
accent
#DC09B5
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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