#684DBC#684DBC

#684DBC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.167 H 290.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#684DBC
RGBrgb(104, 77, 188)
HSLhsl(255, 45%, 52%)
HSVhsv(255, 59%, 74%)
CMYKcmyk(44.7%, 59%, 0%, 26.3%)
CIE-LABlab(41.03, 38.31, -54.88)
CIE-LCHlch(41.03, 66.93, 304.91°)
OKLaboklab(50.77% 0.0582 -0.1566)
OKLCHoklch(50.77% 0.167 290.4)
XYZxyz(17.4374, 11.8810, 48.9417)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DBC #A1BC4D
analogous
#4D69BC #684DBC #A04DBC
triadic
#684DBC #BC684D #4DBC68
tetradic
#684DBC #BC4D69 #A1BC4D #4DBCA0
square
#684DBC #BC4D69 #A1BC4D #4DBCA0
split-complementary
#684DBC #BCA04D #69BC4D
monochromatic
#372768 #4E3894 #684DBC #8E79CD #B3A6DD

Accessibility & contrast

On white

6.22
#684DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#684DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DBC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DBC#FFFFFF#000000##FFFFFF
##684DBC1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#4F667D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684dbc;
/* rgb */ color: rgb(104, 77, 188);
/* oklch */ color: oklch(50.8% 0.167 290.4);
Tailwind
colors: {
  custom: {
    50: '#9980d1',
    500: '#684dbc',
    950: '#000000',
  },
}
SCSS
$custom: #684dbc;
$custom-light: #9980d1;
$custom-dark: #000000;
JSON
{
  "hex": "#684dbc",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 254.595,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.16704,
    "h": 290.4
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#684DBC
secondary
#BFCB9A
accent
#D553B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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