#684DC0#684DC0

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

Color values

HEX#684DC0
RGBrgb(104, 77, 192)
HSLhsl(254, 48%, 53%)
HSVhsv(254, 60%, 75%)
CMYKcmyk(45.8%, 59.9%, 0%, 24.7%)
CIE-LABlab(41.30, 39.46, -56.77)
CIE-LCHlch(41.30, 69.14, 304.80°)
OKLaboklab(51.06% 0.0581 -0.1621)
OKLCHoklch(51.06% 0.172 289.7)
XYZxyz(17.8745, 12.0559, 51.2442)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DC0 #A5C04D
analogous
#4D6BC0 #684DC0 #A14DC0
triadic
#684DC0 #C0684D #4DC068
tetradic
#684DC0 #C04D6B #A5C04D #4DC0A1
square
#684DC0 #C04D6B #A5C04D #4DC0A1
split-complementary
#684DC0 #C0A14D #6BC04D
monochromatic
#37266C #4E3699 #684DC0 #8E7AD0 #B5A7E0

Accessibility & contrast

On white

6.16
#684DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#684DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DC0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DC0#FFFFFF#000000##FFFFFF
##684DC01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#4D677F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684dc0;
/* rgb */ color: rgb(104, 77, 192);
/* oklch */ color: oklch(51.1% 0.172 289.7);
Tailwind
colors: {
  custom: {
    50: '#9980d4',
    500: '#684dc0',
    950: '#000000',
  },
}
SCSS
$custom: #684dc0;
$custom-light: #9980d4;
$custom-dark: #000000;
JSON
{
  "hex": "#684dc0",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 254.087,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.17221,
    "h": 289.7
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#684DC0
secondary
#C2CD9B
accent
#D750B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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