#684CBD#684CBD

#684CBD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.170 H 290.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#684CBD
RGBrgb(104, 76, 189)
HSLhsl(255, 46%, 52%)
HSVhsv(255, 60%, 74%)
CMYKcmyk(45%, 59.8%, 0%, 25.9%)
CIE-LABlab(40.87, 39.18, -55.71)
CIE-LCHlch(40.87, 68.11, 305.11°)
OKLaboklab(50.68% 0.0593 -0.159)
OKLCHoklch(50.68% 0.17 290.5)
XYZxyz(17.4761, 11.7855, 49.4883)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CBD #A1BD4C
analogous
#4C69BD #684CBD #A04CBD
triadic
#684CBD #BD684C #4CBD68
tetradic
#684CBD #BD4C69 #A1BD4C #4CBDA0
square
#684CBD #BD4C69 #A1BD4C #4CBDA0
split-complementary
#684CBD #BDA04C #69BD4C
monochromatic
#372668 #4E3795 #684CBD #8E79CD #B3A5DE

Accessibility & contrast

On white

6.26
#684CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#684CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CBD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CBD#FFFFFF#000000##FFFFFF
##684CBD1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#4F667D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684cbd;
/* rgb */ color: rgb(104, 76, 189);
/* oklch */ color: oklch(50.7% 0.170 290.5);
Tailwind
colors: {
  custom: {
    50: '#997fd2',
    500: '#684cbd',
    950: '#000000',
  },
}
SCSS
$custom: #684cbd;
$custom-light: #997fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#684cbd",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 254.867,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.16972,
    "h": 290.5
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#684CBD
secondary
#BFCB9A
accent
#D652B5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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