#684CEB#684CEB

#684CEB is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.227 H 284.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#684CEB
RGBrgb(104, 76, 235)
HSLhsl(251, 80%, 61%)
HSVhsv(251, 68%, 92%)
CMYKcmyk(55.7%, 67.7%, 0%, 7.8%)
CIE-LABlab(44.39, 52.56, -76.41)
CIE-LCHlch(44.39, 92.74, 304.52°)
OKLaboklab(54.33% 0.0547 -0.2198)
OKLCHoklch(54.33% 0.227 284)
XYZxyz(23.2842, 14.1087, 80.0775)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CEB #CFEB4C
analogous
#4C7FEB #684CEB #B74CEB
triadic
#684CEB #EB684C #4CEB68
tetradic
#684CEB #EB4C7F #CFEB4C #4CEBB7
square
#684CEB #EB4C7F #CFEB4C #4CEBB7
split-complementary
#684CEB #EBB74C #7FEB4C
monochromatic
#2D13AA #3C19E1 #684CEB #9683F1 #C5BAF7

Accessibility & contrast

On white

5.49
#684CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684CEB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CEB#FFFFFF#000000##FFFFFF
##684CEB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684ceb;
/* rgb */ color: rgb(104, 76, 235);
/* oklch */ color: oklch(54.3% 0.227 284.0);
Tailwind
colors: {
  custom: {
    50: '#9f80f3',
    500: '#684ceb',
    950: '#000000',
  },
}
SCSS
$custom: #684ceb;
$custom-light: #9f80f3;
$custom-dark: #000000;
JSON
{
  "hex": "#684ceb",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 250.566,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54325,
    "c": 0.22652,
    "h": 284
  },
  "luminance": 0.1411
}

Semantic roles & 50–950 ramp

primary
#684CEB
secondary
#DDE7AB
accent
#DC09B7
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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