#684FAF#684FAF

#684FAF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.147 H 292.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#684FAF
RGBrgb(104, 79, 175)
HSLhsl(256, 38%, 50%)
HSVhsv(256, 55%, 69%)
CMYKcmyk(40.6%, 54.9%, 0%, 31.4%)
CIE-LABlab(40.62, 33.40, -47.89)
CIE-LCHlch(40.62, 58.39, 304.89°)
OKLaboklab(50.2% 0.0557 -0.136)
OKLCHoklch(50.2% 0.147 292.3)
XYZxyz(16.2407, 11.6297, 41.9382)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FAF #96AF4F
analogous
#4F66AF #684FAF #984FAF
triadic
#684FAF #AF684F #4FAF68
tetradic
#684FAF #AF4F66 #96AF4F #4FAF98
square
#684FAF #AF4F66 #96AF4F #4FAF98
split-complementary
#684FAF #AF984F #66AF4F
monochromatic
#36295B #4F3C85 #684FAF #8C79C2 #B0A3D5

Accessibility & contrast

On white

6.31
#684FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#684FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FAF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FAF#FFFFFF#000000##FFFFFF
##684FAF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#275EAD
Tritanopia (blue-blind)
#556377
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684faf;
/* rgb */ color: rgb(104, 79, 175);
/* oklch */ color: oklch(50.2% 0.147 292.3);
Tailwind
colors: {
  custom: {
    50: '#9781c7',
    500: '#684faf',
    950: '#000000',
  },
}
SCSS
$custom: #684faf;
$custom-light: #9781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#684faf",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 255.625,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.14699,
    "h": 292.3
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#684FAF
secondary
#B7C397
accent
#CE5AB0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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