#684CBF#684CBF

#684CBF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.172 H 290.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#684CBF
RGBrgb(104, 76, 191)
HSLhsl(255, 47%, 52%)
HSVhsv(255, 60%, 75%)
CMYKcmyk(45.5%, 60.2%, 0%, 25.1%)
CIE-LABlab(41.01, 39.75, -56.66)
CIE-LCHlch(41.01, 69.21, 305.05°)
OKLaboklab(50.83% 0.0592 -0.1618)
OKLCHoklch(50.83% 0.172 290.1)
XYZxyz(17.6947, 11.8729, 50.6395)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CBF #A3BF4C
analogous
#4C69BF #684CBF #A24CBF
triadic
#684CBF #BF684C #4CBF68
tetradic
#684CBF #BF4C69 #A3BF4C #4CBFA2
square
#684CBF #BF4C69 #A3BF4C #4CBFA2
split-complementary
#684CBF #BFA24C #69BF4C
monochromatic
#37266B #4E3698 #684CBF #8E79CF #B4A6DF

Accessibility & contrast

On white

6.22
#684CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#684CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CBF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CBF#FFFFFF#000000##FFFFFF
##684CBF1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#4D667E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684cbf;
/* rgb */ color: rgb(104, 76, 191);
/* oklch */ color: oklch(50.8% 0.172 290.1);
Tailwind
colors: {
  custom: {
    50: '#997fd3',
    500: '#684cbf',
    950: '#000000',
  },
}
SCSS
$custom: #684cbf;
$custom-light: #997fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#684cbf",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 254.609,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50826,
    "c": 0.17229,
    "h": 290.1
  },
  "luminance": 0.11874
}

Semantic roles & 50–950 ramp

primary
#684CBF
secondary
#C0CC9A
accent
#D751B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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