#684CCE#684CCE

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

Color values

HEX#684CCE
RGBrgb(104, 76, 206)
HSLhsl(253, 57%, 55%)
HSVhsv(253, 63%, 81%)
CMYKcmyk(49.5%, 63.1%, 0%, 19.2%)
CIE-LABlab(42.10, 44.10, -63.59)
CIE-LCHlch(42.10, 77.39, 304.74°)
OKLaboklab(51.97% 0.0582 -0.1822)
OKLCHoklch(51.97% 0.191 287.7)
XYZxyz(19.4307, 12.5673, 59.7825)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CCE #B2CE4C
analogous
#4C71CE #684CCE #A94CCE
triadic
#684CCE #CE684C #4CCE68
tetradic
#684CCE #CE4C71 #B2CE4C #4CCEA9
square
#684CCE #CE4C71 #B2CE4C #4CCEA9
split-complementary
#684CCE #CEA94C #71CE4C
monochromatic
#36227D #4B2FAD #684CCE #917CDB #B9ACE8

Accessibility & contrast

On white

5.98
#684CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#684CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CCE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CCE#FFFFFF#000000##FFFFFF
##684CCE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#446B86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684cce;
/* rgb */ color: rgb(104, 76, 206);
/* oklch */ color: oklch(52.0% 0.191 287.7);
Tailwind
colors: {
  custom: {
    50: '#9b7fde',
    500: '#684cce',
    950: '#000000',
  },
}
SCSS
$custom: #684cce;
$custom-light: #9b7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#684cce",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 252.923,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.19126,
    "h": 287.7
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#684CCE
secondary
#CAD6A0
accent
#E048BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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