#684FC8#684FC8

#684FC8 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.180 H 288.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#684FC8
RGBrgb(104, 79, 200)
HSLhsl(252, 52%, 55%)
HSVhsv(252, 61%, 78%)
CMYKcmyk(48%, 60.5%, 0%, 21.6%)
CIE-LABlab(42.31, 40.63, -59.78)
CIE-LCHlch(42.31, 72.28, 304.20°)
OKLaboklab(51.98% 0.0555 -0.171)
OKLCHoklch(51.98% 0.18 288)
XYZxyz(18.9272, 12.7043, 56.0873)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FC8 #AFC84F
analogous
#4F72C8 #684FC8 #A54FC8
triadic
#684FC8 #C8684F #4FC868
tetradic
#684FC8 #C84F72 #AFC84F #4FC8A5
square
#684FC8 #C84F72 #AFC84F #4FC8A5
split-complementary
#684FC8 #C8A54F #72C84F
monochromatic
#362577 #4B34A6 #684FC8 #907ED7 #B8ACE5

Accessibility & contrast

On white

5.93
#684FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#684FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FC8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FC8#FFFFFF#000000##FFFFFF
##684FC81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#486B84
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684fc8;
/* rgb */ color: rgb(104, 79, 200);
/* oklch */ color: oklch(52.0% 0.180 288.0);
Tailwind
colors: {
  custom: {
    50: '#9a81d9',
    500: '#684fc8',
    950: '#000000',
  },
}
SCSS
$custom: #684fc8;
$custom-light: #9a81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#684fc8",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 252.397,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5198,
    "c": 0.17977,
    "h": 288
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#684FC8
secondary
#C8D3A0
accent
#DC4CBE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #684FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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