#684DC4#684DC4

#684DC4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.177 H 289.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#684DC4
RGBrgb(104, 77, 196)
HSLhsl(254, 50%, 54%)
HSVhsv(254, 61%, 77%)
CMYKcmyk(46.9%, 60.7%, 0%, 23.1%)
CIE-LABlab(41.59, 40.62, -58.64)
CIE-LCHlch(41.59, 71.33, 304.71°)
OKLaboklab(51.36% 0.0579 -0.1676)
OKLCHoklch(51.36% 0.177 289.1)
XYZxyz(18.3238, 12.2356, 53.6101)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DC4 #A9C44D
analogous
#4D6DC4 #684DC4 #A34DC4
triadic
#684DC4 #C4684D #4DC468
tetradic
#684DC4 #C44D6D #A9C44D #4DC4A3
square
#684DC4 #C44D6D #A9C44D #4DC4A3
split-complementary
#684DC4 #C4A34D #6DC44D
monochromatic
#372571 #4D359F #684DC4 #8F7BD3 #B6A9E2

Accessibility & contrast

On white

6.09
#684DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#684DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DC4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DC4#FFFFFF#000000##FFFFFF
##684DC41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#4B6881
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684dc4;
/* rgb */ color: rgb(104, 77, 196);
/* oklch */ color: oklch(51.4% 0.177 289.1);
Tailwind
colors: {
  custom: {
    50: '#9a80d7',
    500: '#684dc4',
    950: '#000000',
  },
}
SCSS
$custom: #684dc4;
$custom-light: #9a80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#684dc4",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 253.613,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51359,
    "c": 0.17732,
    "h": 289.1
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#684DC4
secondary
#C4D09D
accent
#DA4EBA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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