#684BBF#684BBF

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

Color values

HEX#684BBF
RGBrgb(104, 75, 191)
HSLhsl(255, 48%, 52%)
HSVhsv(255, 61%, 75%)
CMYKcmyk(45.5%, 60.7%, 0%, 25.1%)
CIE-LABlab(40.79, 40.33, -57.01)
CIE-LCHlch(40.79, 69.83, 305.28°)
OKLaboklab(50.67% 0.0604 -0.1628)
OKLCHoklch(50.67% 0.174 290.3)
XYZxyz(17.6263, 11.7362, 50.6167)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BBF #A2BF4B
analogous
#4B68BF #684BBF #A24BBF
triadic
#684BBF #BF684B #4BBF68
tetradic
#684BBF #BF4B68 #A2BF4B #4BBFA2
square
#684BBF #BF4B68 #A2BF4B #4BBFA2
split-complementary
#684BBF #BFA24B #68BF4B
monochromatic
#37266A #4E3697 #684BBF #8E78CF #B4A5DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684BBF#FFFFFF#000000##FFFFFF
##684BBF1.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)
#0062C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#4E667E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684bbf;
/* rgb */ color: rgb(104, 75, 191);
/* oklch */ color: oklch(50.7% 0.174 290.3);
Tailwind
colors: {
  custom: {
    50: '#997ed3',
    500: '#684bbf',
    950: '#000000',
  },
}
SCSS
$custom: #684bbf;
$custom-light: #997ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#684bbf",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 255,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50665,
    "c": 0.17366,
    "h": 290.3
  },
  "luminance": 0.11737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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