#684FCF#684FCF

#684FCF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.189 H 287.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#684FCF
RGBrgb(104, 79, 207)
HSLhsl(252, 57%, 56%)
HSVhsv(252, 62%, 81%)
CMYKcmyk(49.8%, 61.8%, 0%, 18.8%)
CIE-LABlab(42.82, 42.68, -63.00)
CIE-LCHlch(42.82, 76.10, 304.11°)
OKLaboklab(52.51% 0.0551 -0.1804)
OKLCHoklch(52.51% 0.189 287)
XYZxyz(19.7641, 13.0391, 60.4948)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FCF #B6CF4F
analogous
#4F76CF #684FCF #A84FCF
triadic
#684FCF #CF684F #4FCF68
tetradic
#684FCF #CF4F76 #B6CF4F #4FCFA8
square
#684FCF #CF4F76 #B6CF4F #4FCFA8
split-complementary
#684FCF #CFA84F #76CF4F
monochromatic
#352381 #4930B1 #684FCF #917FDC #BBAFE9

Accessibility & contrast

On white

5.82
#684FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#684FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FCF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FCF#FFFFFF#000000##FFFFFF
##684FCF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#436D88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684fcf;
/* rgb */ color: rgb(104, 79, 207);
/* oklch */ color: oklch(52.5% 0.189 287.0);
Tailwind
colors: {
  custom: {
    50: '#9b81df',
    500: '#684fcf',
    950: '#000000',
  },
}
SCSS
$custom: #684fcf;
$custom-light: #9b81df;
$custom-dark: #000000;
JSON
{
  "hex": "#684fcf",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 251.719,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.18866,
    "h": 287
  },
  "luminance": 0.1304
}

Semantic roles & 50–950 ramp

primary
#684FCF
secondary
#CDD7A2
accent
#E047C3
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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