#684CDF#684CDF

#684CDF is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.3% C 0.212 H 285.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#684CDF
RGBrgb(104, 76, 223)
HSLhsl(251, 70%, 59%)
HSVhsv(251, 66%, 87%)
CMYKcmyk(53.4%, 65.9%, 0%, 12.5%)
CIE-LABlab(43.42, 49.06, -71.20)
CIE-LCHlch(43.42, 86.46, 304.57°)
OKLaboklab(53.33% 0.0564 -0.2045)
OKLCHoklch(53.33% 0.212 285.4)
XYZxyz(21.6086, 13.4385, 71.2530)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CDF #C3DF4C
analogous
#4C79DF #684CDF #B24CDF
triadic
#684CDF #DF684C #4CDF68
tetradic
#684CDF #DF4C79 #C3DF4C #4CDFB2
square
#684CDF #DF4C79 #C3DF4C #4CDFB2
split-complementary
#684CDF #DFB24C #79DF4C
monochromatic
#321B96 #4424CA #684CDF #9480E8 #C0B4F2

Accessibility & contrast

On white

5.69
#684CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#684CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CDF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CDF#FFFFFF#000000##FFFFFF
##684CDF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#36718F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684cdf;
/* rgb */ color: rgb(104, 76, 223);
/* oklch */ color: oklch(53.3% 0.212 285.4);
Tailwind
colors: {
  custom: {
    50: '#9e80ea',
    500: '#684cdf',
    950: '#000000',
  },
}
SCSS
$custom: #684cdf;
$custom-light: #9e80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#684cdf",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 251.429,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.21216,
    "h": 285.4
  },
  "luminance": 0.1344
}

Semantic roles & 50–950 ramp

primary
#684CDF
secondary
#D5E0A6
accent
#EC3BCB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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