#684DDF#684DDF

#684DDF is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.5% C 0.211 H 285.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#684DDF
RGBrgb(104, 77, 223)
HSLhsl(251, 70%, 59%)
HSVhsv(251, 65%, 87%)
CMYKcmyk(53.4%, 65.5%, 0%, 12.5%)
CIE-LABlab(43.62, 48.51, -70.86)
CIE-LCHlch(43.62, 85.87, 304.39°)
OKLaboklab(53.47% 0.0555 -0.2035)
OKLCHoklch(53.47% 0.211 285.2)
XYZxyz(21.6781, 13.5773, 71.2761)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DDF #C4DF4D
analogous
#4D7BDF #684DDF #B14DDF
triadic
#684DDF #DF684D #4DDF68
tetradic
#684DDF #DF4D7B #C4DF4D #4DDFB1
square
#684DDF #DF4D7B #C4DF4D #4DDFB1
split-complementary
#684DDF #DFB14D #7BDF4D
monochromatic
#321B97 #4324CA #684DDF #9481E8 #C0B5F2

Accessibility & contrast

On white

5.65
#684DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#684DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DDF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DDF#FFFFFF#000000##FFFFFF
##684DDF1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684ddf;
/* rgb */ color: rgb(104, 77, 223);
/* oklch */ color: oklch(53.5% 0.211 285.2);
Tailwind
colors: {
  custom: {
    50: '#9d80ea',
    500: '#684ddf',
    950: '#000000',
  },
}
SCSS
$custom: #684ddf;
$custom-light: #9d80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#684ddf",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 251.096,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.21097,
    "h": 285.2
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#684DDF
secondary
#D6E1A7
accent
#EC3BCC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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