#684CB3#684CB3

#684CB3 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.157 H 292.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#684CB3
RGBrgb(104, 76, 179)
HSLhsl(256, 40%, 50%)
HSVhsv(256, 58%, 70%)
CMYKcmyk(41.9%, 57.5%, 0%, 29.8%)
CIE-LABlab(40.19, 36.32, -50.95)
CIE-LCHlch(40.19, 62.57, 305.48°)
OKLaboklab(49.96% 0.0595 -0.145)
OKLCHoklch(49.96% 0.157 292.3)
XYZxyz(16.4278, 11.3661, 43.9674)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CB3 #97B34C
analogous
#4C63B3 #684CB3 #9C4CB3
triadic
#684CB3 #B3684C #4CB368
tetradic
#684CB3 #B34C63 #97B34C #4CB39C
square
#684CB3 #B34C63 #97B34C #4CB39C
split-complementary
#684CB3 #B39C4C #63B34C
monochromatic
#36285D #4F3A88 #684CB3 #8C77C5 #B0A2D7

Accessibility & contrast

On white

6.42
#684CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#684CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CB3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CB3#FFFFFF#000000##FFFFFF
##684CB31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B6
Deuteranopia (green-blind)
#1A5DB1
Tritanopia (blue-blind)
#546278
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684cb3;
/* rgb */ color: rgb(104, 76, 179);
/* oklch */ color: oklch(50.0% 0.157 292.3);
Tailwind
colors: {
  custom: {
    50: '#987fca',
    500: '#684cb3',
    950: '#000000',
  },
}
SCSS
$custom: #684cb3;
$custom-light: #987fca;
$custom-dark: #000000;
JSON
{
  "hex": "#684cb3",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 256.311,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.15673,
    "h": 292.3
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#684CB3
secondary
#B8C496
accent
#D058AF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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