#684FBC#684FBC

#684FBC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.164 H 289.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#684FBC
RGBrgb(104, 79, 188)
HSLhsl(254, 45%, 52%)
HSVhsv(254, 58%, 74%)
CMYKcmyk(44.7%, 58%, 0%, 26.3%)
CIE-LABlab(41.48, 37.13, -54.15)
CIE-LCHlch(41.48, 65.66, 304.44°)
OKLaboklab(51.1% 0.0559 -0.1544)
OKLCHoklch(51.1% 0.164 289.9)
XYZxyz(17.5795, 12.1652, 48.9891)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FBC #A3BC4F
analogous
#4F6DBC #684FBC #9E4FBC
triadic
#684FBC #BC684F #4FBC68
tetradic
#684FBC #BC4F6D #A3BC4F #4FBC9E
square
#684FBC #BC4F6D #A3BC4F #4FBC9E
split-complementary
#684FBC #BC9E4F #6DBC4F
monochromatic
#372869 #4E3995 #684FBC #8E7BCD #B4A8DE

Accessibility & contrast

On white

6.12
#684FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#684FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FBC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FBC#FFFFFF#000000##FFFFFF
##684FBC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0164C0
Deuteranopia (green-blind)
#0B5FBA
Tritanopia (blue-blind)
#4F677E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684fbc;
/* rgb */ color: rgb(104, 79, 188);
/* oklch */ color: oklch(51.1% 0.164 289.9);
Tailwind
colors: {
  custom: {
    50: '#9981d1',
    500: '#684fbc',
    950: '#000000',
  },
}
SCSS
$custom: #684fbc;
$custom-light: #9981d1;
$custom-dark: #000000;
JSON
{
  "hex": "#684fbc",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 253.761,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.16422,
    "h": 289.9
  },
  "luminance": 0.12166
}

Semantic roles & 50–950 ramp

primary
#684FBC
secondary
#C0CB9C
accent
#D553B7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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