#684CDB#684CDB

#684CDB is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.0% C 0.207 H 285.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#684CDB
RGBrgb(104, 76, 219)
HSLhsl(252, 67%, 58%)
HSVhsv(252, 65%, 86%)
CMYKcmyk(52.5%, 65.3%, 0%, 14.1%)
CIE-LABlab(43.10, 47.89, -69.43)
CIE-LCHlch(43.10, 84.34, 304.60°)
OKLaboklab(53% 0.0569 -0.1993)
OKLCHoklch(53% 0.207 285.9)
XYZxyz(21.0757, 13.2253, 68.4463)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CDB #BFDB4C
analogous
#4C78DB #684CDB #AF4CDB
triadic
#684CDB #DB684C #4CDB68
tetradic
#684CDB #DB4C78 #BFDB4C #4CDBAF
square
#684CDB #DB4C78 #BFDB4C #4CDBAF
split-complementary
#684CDB #DBAF4C #78DB4C
monochromatic
#331D90 #4627C3 #684CDB #937FE5 #BEB2EF

Accessibility & contrast

On white

5.76
#684CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#684CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CDB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CDB#FFFFFF#000000##FFFFFF
##684CDB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#3A708D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684cdb;
/* rgb */ color: rgb(104, 76, 219);
/* oklch */ color: oklch(53.0% 0.207 285.9);
Tailwind
colors: {
  custom: {
    50: '#9d80e7',
    500: '#684cdb',
    950: '#000000',
  },
}
SCSS
$custom: #684cdb;
$custom-light: #9d80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#684cdb",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 251.748,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52999,
    "c": 0.20729,
    "h": 285.9
  },
  "luminance": 0.13226
}

Semantic roles & 50–950 ramp

primary
#684CDB
secondary
#D3DEA5
accent
#E93EC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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