#684FD3#684FD3

#684FD3 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.194 H 286.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#684FD3
RGBrgb(104, 79, 211)
HSLhsl(251, 60%, 57%)
HSVhsv(251, 63%, 83%)
CMYKcmyk(50.7%, 62.6%, 0%, 17.3%)
CIE-LABlab(43.12, 43.85, -64.82)
CIE-LCHlch(43.12, 78.26, 304.08°)
OKLaboklab(52.82% 0.0548 -0.1858)
OKLCHoklch(52.82% 0.194 286.4)
XYZxyz(20.2593, 13.2372, 63.1029)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FD3 #BAD34F
analogous
#4F78D3 #684FD3 #AA4FD3
triadic
#684FD3 #D3684F #4FD368
tetradic
#684FD3 #D34F78 #BAD34F #4FD3AA
square
#684FD3 #D34F78 #BAD34F #4FD3AA
split-complementary
#684FD3 #D3AA4F #78D34F
monochromatic
#352286 #482EB7 #684FD3 #9280DF #BCB1EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684FD3#FFFFFF#000000##FFFFFF
##684FD31.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)
#0069D7
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#406F8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684fd3;
/* rgb */ color: rgb(104, 79, 211);
/* oklch */ color: oklch(52.8% 0.194 286.4);
Tailwind
colors: {
  custom: {
    50: '#9c82e1',
    500: '#684fd3',
    950: '#000000',
  },
}
SCSS
$custom: #684fd3;
$custom-light: #9c82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#684fd3",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 251.364,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5282,
    "c": 0.1937,
    "h": 286.4
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#684FD3
secondary
#D0DAA4
accent
#E345C5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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