#684BBE#684BBE

#684BBE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.172 H 290.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#684BBE
RGBrgb(104, 75, 190)
HSLhsl(255, 47%, 52%)
HSVhsv(255, 61%, 75%)
CMYKcmyk(45.3%, 60.5%, 0%, 25.5%)
CIE-LABlab(40.72, 40.04, -56.54)
CIE-LCHlch(40.72, 69.29, 305.31°)
OKLaboklab(50.59% 0.0604 -0.1614)
OKLCHoklch(50.59% 0.172 290.5)
XYZxyz(17.5167, 11.6923, 50.0391)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BBE #A1BE4B
analogous
#4B68BE #684BBE #A14BBE
triadic
#684BBE #BE684B #4BBE68
tetradic
#684BBE #BE4B68 #A1BE4B #4BBEA1
square
#684BBE #BE4B68 #A1BE4B #4BBEA1
split-complementary
#684BBE #BEA14B #68BE4B
monochromatic
#372669 #4E3696 #684BBE #8E78CE #B3A5DE

Accessibility & contrast

On white

6.29
#684BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#684BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BBE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BBE#FFFFFF#000000##FFFFFF
##684BBE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#4E657D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684bbe;
/* rgb */ color: rgb(104, 75, 190);
/* oklch */ color: oklch(50.6% 0.172 290.5);
Tailwind
colors: {
  custom: {
    50: '#997ed2',
    500: '#684bbe',
    950: '#000000',
  },
}
SCSS
$custom: #684bbe;
$custom-light: #997ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#684bbe",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 255.13,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.17238,
    "h": 290.5
  },
  "luminance": 0.11693
}

Semantic roles & 50–950 ramp

primary
#684BBE
secondary
#BFCC99
accent
#D751B5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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