#684EC2#684EC2

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

Color values

HEX#684EC2
RGBrgb(104, 78, 194)
HSLhsl(253, 49%, 53%)
HSVhsv(253, 60%, 76%)
CMYKcmyk(46.4%, 59.8%, 0%, 23.9%)
CIE-LABlab(41.67, 39.46, -57.35)
CIE-LCHlch(41.67, 69.61, 304.53°)
OKLaboklab(51.37% 0.0569 -0.1638)
OKLCHoklch(51.37% 0.173 289.1)
XYZxyz(18.1681, 12.2862, 52.4427)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EC2 #A8C24E
analogous
#4E6EC2 #684EC2 #A24EC2
triadic
#684EC2 #C2684E #4EC268
tetradic
#684EC2 #C24E6E #A8C24E #4EC2A2
square
#684EC2 #C24E6E #A8C24E #4EC2A2
split-complementary
#684EC2 #C2A24E #6EC24E
monochromatic
#37266F #4D369D #684EC2 #8F7CD2 #B6A9E1

Accessibility & contrast

On white

6.07
#684EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#684EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EC2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EC2#FFFFFF#000000##FFFFFF
##684EC21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#4C6880
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684ec2;
/* rgb */ color: rgb(104, 78, 194);
/* oklch */ color: oklch(51.4% 0.173 289.1);
Tailwind
colors: {
  custom: {
    50: '#9a81d5',
    500: '#684ec2',
    950: '#000000',
  },
}
SCSS
$custom: #684ec2;
$custom-light: #9a81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#684ec2",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 253.448,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.1734,
    "h": 289.1
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#684EC2
secondary
#C4CF9D
accent
#D850BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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