#684FD1#684FD1

#684FD1 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.191 H 286.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#684FD1
RGBrgb(104, 79, 209)
HSLhsl(252, 59%, 56%)
HSVhsv(252, 62%, 82%)
CMYKcmyk(50.2%, 62.2%, 0%, 18%)
CIE-LABlab(42.97, 43.27, -63.91)
CIE-LCHlch(42.97, 77.18, 304.10°)
OKLaboklab(52.66% 0.0549 -0.1831)
OKLCHoklch(52.66% 0.191 286.7)
XYZxyz(20.0101, 13.1375, 61.7907)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FD1 #B8D14F
analogous
#4F77D1 #684FD1 #A94FD1
triadic
#684FD1 #D1684F #4FD168
tetradic
#684FD1 #D14F77 #B8D14F #4FD1A9
square
#684FD1 #D14F77 #B8D14F #4FD1A9
split-complementary
#684FD1 #D1A94F #77D14F
monochromatic
#352283 #492FB4 #684FD1 #9280DE #BBB0EA

Accessibility & contrast

On white

5.79
#684FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#684FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FD1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FD1#FFFFFF#000000##FFFFFF
##684FD11.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#426E89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684fd1;
/* rgb */ color: rgb(104, 79, 209);
/* oklch */ color: oklch(52.7% 0.191 286.7);
Tailwind
colors: {
  custom: {
    50: '#9b81e0',
    500: '#684fd1',
    950: '#000000',
  },
}
SCSS
$custom: #684fd1;
$custom-light: #9b81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#684fd1",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 251.538,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52665,
    "c": 0.19118,
    "h": 286.7
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#684FD1
secondary
#CED9A3
accent
#E246C4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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