#684BDB#684BDB

#684BDB is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.9% C 0.208 H 286.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#684BDB
RGBrgb(104, 75, 219)
HSLhsl(252, 67%, 58%)
HSVhsv(252, 66%, 86%)
CMYKcmyk(52.5%, 65.8%, 0%, 14.1%)
CIE-LABlab(42.90, 48.44, -69.76)
CIE-LCHlch(42.90, 84.93, 304.78°)
OKLaboklab(52.85% 0.0578 -0.2003)
OKLCHoklch(52.85% 0.208 286.1)
XYZxyz(21.0074, 13.0886, 68.4235)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BDB #BEDB4B
analogous
#4B76DB #684BDB #B04BDB
triadic
#684BDB #DB684B #4BDB68
tetradic
#684BDB #DB4B76 #BEDB4B #4BDBB0
square
#684BDB #DB4B76 #BEDB4B #4BDBB0
split-complementary
#684BDB #DBB04B #76DB4B
monochromatic
#341D8F #4627C2 #684BDB #937EE5 #BEB1EF

Accessibility & contrast

On white

5.80
#684BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#684BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BDB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BDB#FFFFFF#000000##FFFFFF
##684BDB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#3A6F8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684bdb;
/* rgb */ color: rgb(104, 75, 219);
/* oklch */ color: oklch(52.9% 0.208 286.1);
Tailwind
colors: {
  custom: {
    50: '#9d7fe7',
    500: '#684bdb',
    950: '#000000',
  },
}
SCSS
$custom: #684bdb;
$custom-light: #9d7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#684bdb",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 252.083,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.20849,
    "h": 286.1
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#684BDB
secondary
#D2DEA4
accent
#EA3EC7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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