#684FD4#684FD4

#684FD4 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.195 H 286.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#684FD4
RGBrgb(104, 79, 212)
HSLhsl(251, 61%, 57%)
HSVhsv(251, 63%, 83%)
CMYKcmyk(50.9%, 62.7%, 0%, 16.9%)
CIE-LABlab(43.19, 44.15, -65.27)
CIE-LCHlch(43.19, 78.80, 304.07°)
OKLaboklab(52.9% 0.0547 -0.1871)
OKLCHoklch(52.9% 0.195 286.3)
XYZxyz(20.3850, 13.2875, 63.7652)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FD4 #BBD44F
analogous
#4F79D4 #684FD4 #AB4FD4
triadic
#684FD4 #D4684F #4FD468
tetradic
#684FD4 #D44F79 #BBD44F #4FD4AB
square
#684FD4 #D44F79 #BBD44F #4FD4AB
split-complementary
#684FD4 #D4AB4F #79D44F
monochromatic
#342187 #472DB9 #684FD4 #9280E0 #BCB1EC

Accessibility & contrast

On white

5.74
#684FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#684FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FD4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FD4#FFFFFF#000000##FFFFFF
##684FD41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#3F6F8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684fd4;
/* rgb */ color: rgb(104, 79, 212);
/* oklch */ color: oklch(52.9% 0.195 286.3);
Tailwind
colors: {
  custom: {
    50: '#9c82e2',
    500: '#684fd4',
    950: '#000000',
  },
}
SCSS
$custom: #684fd4;
$custom-light: #9c82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#684fd4",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 251.278,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.19495,
    "h": 286.3
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#684FD4
secondary
#D0DAA4
accent
#E444C6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #684FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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