#684FB2#684FB2

#684FB2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.151 H 291.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#684FB2
RGBrgb(104, 79, 178)
HSLhsl(255, 39%, 50%)
HSVhsv(255, 56%, 70%)
CMYKcmyk(41.6%, 55.6%, 0%, 30.2%)
CIE-LABlab(40.81, 34.25, -49.35)
CIE-LCHlch(40.81, 60.07, 304.76°)
OKLaboklab(50.4% 0.0558 -0.1403)
OKLCHoklch(50.4% 0.151 291.7)
XYZxyz(16.5386, 11.7489, 43.5072)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FB2 #99B24F
analogous
#4F67B2 #684FB2 #9A4FB2
triadic
#684FB2 #B2684F #4FB268
tetradic
#684FB2 #B24F67 #99B24F #4FB29A
square
#684FB2 #B24F67 #99B24F #4FB29A
split-complementary
#684FB2 #B29A4F #67B24F
monochromatic
#36295E #4F3C88 #684FB2 #8D7AC5 #B1A4D7

Accessibility & contrast

On white

6.27
#684FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#684FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FB2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FB2#FFFFFF#000000##FFFFFF
##684FB21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B5
Deuteranopia (green-blind)
#235EB0
Tritanopia (blue-blind)
#546479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684fb2;
/* rgb */ color: rgb(104, 79, 178);
/* oklch */ color: oklch(50.4% 0.151 291.7);
Tailwind
colors: {
  custom: {
    50: '#9881ca',
    500: '#684fb2',
    950: '#000000',
  },
}
SCSS
$custom: #684fb2;
$custom-light: #9881ca;
$custom-dark: #000000;
JSON
{
  "hex": "#684fb2",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 255.152,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.15101,
    "h": 291.7
  },
  "luminance": 0.11749
}

Semantic roles & 50–950 ramp

primary
#684FB2
secondary
#B9C498
accent
#CF59B1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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