#684CCF#684CCF

#684CCF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.193 H 287.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#684CCF
RGBrgb(104, 76, 207)
HSLhsl(253, 58%, 55%)
HSVhsv(253, 63%, 81%)
CMYKcmyk(49.8%, 63.3%, 0%, 18.8%)
CIE-LABlab(42.18, 44.39, -64.05)
CIE-LCHlch(42.18, 77.93, 304.73°)
OKLaboklab(52.04% 0.0582 -0.1835)
OKLCHoklch(52.04% 0.193 287.6)
XYZxyz(19.5526, 12.6160, 60.4243)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CCF #B3CF4C
analogous
#4C72CF #684CCF #A94CCF
triadic
#684CCF #CF684C #4CCF68
tetradic
#684CCF #CF4C72 #B3CF4C #4CCFA9
square
#684CCF #CF4C72 #B3CF4C #4CCFA9
split-complementary
#684CCF #CFA94C #72CF4C
monochromatic
#36227F #4A2FAF #684CCF #917CDC #B9ADE9

Accessibility & contrast

On white

5.96
#684CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#684CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CCF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CCF#FFFFFF#000000##FFFFFF
##684CCF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#436C86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684ccf;
/* rgb */ color: rgb(104, 76, 207);
/* oklch */ color: oklch(52.0% 0.193 287.6);
Tailwind
colors: {
  custom: {
    50: '#9b7fdf',
    500: '#684ccf',
    950: '#000000',
  },
}
SCSS
$custom: #684ccf;
$custom-light: #9b7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#684ccf",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 252.824,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.19251,
    "h": 287.6
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#684CCF
secondary
#CBD7A0
accent
#E147C0
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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