#684DC1#684DC1

#684DC1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.173 H 289.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#684DC1
RGBrgb(104, 77, 193)
HSLhsl(254, 48%, 53%)
HSVhsv(254, 60%, 76%)
CMYKcmyk(46.1%, 60.1%, 0%, 24.3%)
CIE-LABlab(41.38, 39.75, -57.24)
CIE-LCHlch(41.38, 69.69, 304.78°)
OKLaboklab(51.14% 0.058 -0.1635)
OKLCHoklch(51.14% 0.173 289.5)
XYZxyz(17.9857, 12.1004, 51.8297)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DC1 #A6C14D
analogous
#4D6CC1 #684DC1 #A24DC1
triadic
#684DC1 #C1684D #4DC168
tetradic
#684DC1 #C14D6C #A6C14D #4DC1A2
square
#684DC1 #C14D6C #A6C14D #4DC1A2
split-complementary
#684DC1 #C1A24D #6CC14D
monochromatic
#37266D #4D369B #684DC1 #8F7AD1 #B5A8E1

Accessibility & contrast

On white

6.14
#684DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#684DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DC1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DC1#FFFFFF#000000##FFFFFF
##684DC11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#4C677F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684dc1;
/* rgb */ color: rgb(104, 77, 193);
/* oklch */ color: oklch(51.1% 0.173 289.5);
Tailwind
colors: {
  custom: {
    50: '#9980d4',
    500: '#684dc1',
    950: '#000000',
  },
}
SCSS
$custom: #684dc1;
$custom-light: #9980d4;
$custom-dark: #000000;
JSON
{
  "hex": "#684dc1",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 253.966,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.17348,
    "h": 289.5
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#684DC1
secondary
#C2CE9C
accent
#D850B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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