#684FC7#684FC7

#684FC7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.178 H 288.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#684FC7
RGBrgb(104, 79, 199)
HSLhsl(253, 52%, 55%)
HSVhsv(253, 60%, 78%)
CMYKcmyk(47.7%, 60.3%, 0%, 22%)
CIE-LABlab(42.24, 40.33, -59.32)
CIE-LCHlch(42.24, 71.73, 304.21°)
OKLaboklab(51.91% 0.0556 -0.1696)
OKLCHoklch(51.91% 0.178 288.1)
XYZxyz(18.8107, 12.6577, 55.4738)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FC7 #AEC74F
analogous
#4F72C7 #684FC7 #A44FC7
triadic
#684FC7 #C7684F #4FC768
tetradic
#684FC7 #C74F72 #AEC74F #4FC7A4
square
#684FC7 #C74F72 #AEC74F #4FC7A4
split-complementary
#684FC7 #C7A44F #72C74F
monochromatic
#362676 #4C34A4 #684FC7 #907DD6 #B8ACE5

Accessibility & contrast

On white

5.95
#684FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#684FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FC7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FC7#FFFFFF#000000##FFFFFF
##684FC71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#486B83
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684fc7;
/* rgb */ color: rgb(104, 79, 199);
/* oklch */ color: oklch(51.9% 0.178 288.1);
Tailwind
colors: {
  custom: {
    50: '#9a81d9',
    500: '#684fc7',
    950: '#000000',
  },
}
SCSS
$custom: #684fc7;
$custom-light: #9a81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#684fc7",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 252.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51905,
    "c": 0.17848,
    "h": 288.1
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#684FC7
secondary
#C8D2A0
accent
#DB4DBD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #684FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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