#684CD2#684CD2

#684CD2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.196 H 287.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#684CD2
RGBrgb(104, 76, 210)
HSLhsl(253, 60%, 56%)
HSVhsv(253, 64%, 82%)
CMYKcmyk(50.5%, 63.8%, 0%, 17.6%)
CIE-LABlab(42.41, 45.26, -65.40)
CIE-LCHlch(42.41, 79.54, 304.69°)
OKLaboklab(52.28% 0.0579 -0.1875)
OKLCHoklch(52.28% 0.196 287.1)
XYZxyz(19.9228, 12.7641, 62.3742)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CD2 #B6D24C
analogous
#4C73D2 #684CD2 #AB4CD2
triadic
#684CD2 #D2684C #4CD268
tetradic
#684CD2 #D24C73 #B6D24C #4CD2AB
square
#684CD2 #D24C73 #B6D24C #4CD2AB
split-complementary
#684CD2 #D2AB4C #73D24C
monochromatic
#352183 #492DB4 #684CD2 #917DDE #BBAEEB

Accessibility & contrast

On white

5.91
#684CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#684CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CD2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CD2#FFFFFF#000000##FFFFFF
##684CD21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#416D88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684cd2;
/* rgb */ color: rgb(104, 76, 210);
/* oklch */ color: oklch(52.3% 0.196 287.1);
Tailwind
colors: {
  custom: {
    50: '#9c80e1',
    500: '#684cd2',
    950: '#000000',
  },
}
SCSS
$custom: #684cd2;
$custom-light: #9c80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#684cd2",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 252.537,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.19623,
    "h": 287.1
  },
  "luminance": 0.12765
}

Semantic roles & 50–950 ramp

primary
#684CD2
secondary
#CDD9A1
accent
#E345C2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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