#684FCB#684FCB

#684FCB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.184 H 287.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#684FCB
RGBrgb(104, 79, 203)
HSLhsl(252, 54%, 55%)
HSVhsv(252, 61%, 80%)
CMYKcmyk(48.8%, 61.1%, 0%, 20.4%)
CIE-LABlab(42.53, 41.50, -61.17)
CIE-LCHlch(42.53, 73.92, 304.16°)
OKLaboklab(52.21% 0.0553 -0.175)
OKLCHoklch(52.21% 0.184 287.5)
XYZxyz(19.2813, 12.8460, 57.9519)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FCB #B2CB4F
analogous
#4F74CB #684FCB #A64FCB
triadic
#684FCB #CB684F #4FCB68
tetradic
#684FCB #CB4F74 #B2CB4F #4FCBA6
square
#684FCB #CB4F74 #B2CB4F #4FCBA6
split-complementary
#684FCB #CBA64F #74CB4F
monochromatic
#36247B #4B32AA #684FCB #917ED9 #B9ADE7

Accessibility & contrast

On white

5.88
#684FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#684FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FCB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FCB#FFFFFF#000000##FFFFFF
##684FCB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#466C85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684fcb;
/* rgb */ color: rgb(104, 79, 203);
/* oklch */ color: oklch(52.2% 0.184 287.5);
Tailwind
colors: {
  custom: {
    50: '#9b81dc',
    500: '#684fcb',
    950: '#000000',
  },
}
SCSS
$custom: #684fcb;
$custom-light: #9b81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#684fcb",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 252.097,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52206,
    "c": 0.18359,
    "h": 287.5
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#684FCB
secondary
#CAD5A1
accent
#DE4AC0
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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