#684FBB#684FBB

#684FBB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.163 H 290.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#684FBB
RGBrgb(104, 79, 187)
HSLhsl(254, 44%, 52%)
HSVhsv(254, 58%, 73%)
CMYKcmyk(44.4%, 57.8%, 0%, 26.7%)
CIE-LABlab(41.41, 36.84, -53.68)
CIE-LCHlch(41.41, 65.10, 304.46°)
OKLaboklab(51.03% 0.0559 -0.153)
OKLCHoklch(51.03% 0.163 290.1)
XYZxyz(17.4720, 12.1223, 48.4233)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FBB #A2BB4F
analogous
#4F6CBB #684FBB #9E4FBB
triadic
#684FBB #BB684F #4FBB68
tetradic
#684FBB #BB4F6C #A2BB4F #4FBB9E
square
#684FBB #BB4F6C #A2BB4F #4FBB9E
split-complementary
#684FBB #BB9E4F #6CBB4F
monochromatic
#372868 #4E3994 #684FBB #8E7BCC #B4A7DD

Accessibility & contrast

On white

6.13
#684FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#684FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FBB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FBB#FFFFFF#000000##FFFFFF
##684FBB1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#0F5FB9
Tritanopia (blue-blind)
#4F677D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684fbb;
/* rgb */ color: rgb(104, 79, 187);
/* oklch */ color: oklch(51.0% 0.163 290.1);
Tailwind
colors: {
  custom: {
    50: '#9981d0',
    500: '#684fbb',
    950: '#000000',
  },
}
SCSS
$custom: #684fbb;
$custom-light: #9981d0;
$custom-dark: #000000;
JSON
{
  "hex": "#684fbb",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 253.889,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.16291,
    "h": 290.1
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#684FBB
secondary
#C0CA9B
accent
#D454B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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