#684FDB#684FDB

#684FDB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.4% C 0.204 H 285.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#684FDB
RGBrgb(104, 79, 219)
HSLhsl(251, 66%, 58%)
HSVhsv(251, 64%, 86%)
CMYKcmyk(52.5%, 63.9%, 0%, 14.1%)
CIE-LABlab(43.72, 46.21, -68.41)
CIE-LCHlch(43.72, 82.56, 304.04°)
OKLaboklab(53.45% 0.0541 -0.1963)
OKLCHoklch(53.45% 0.204 285.4)
XYZxyz(21.2873, 13.6484, 68.5168)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FDB #C2DB4F
analogous
#4F7CDB #684FDB #AE4FDB
triadic
#684FDB #DB684F #4FDB68
tetradic
#684FDB #DB4F7C #C2DB4F #4FDBAE
square
#684FDB #DB4F7C #C2DB4F #4FDBAE
split-complementary
#684FDB #DBAE4F #7CDB4F
monochromatic
#331E92 #4428C5 #684FDB #9482E5 #BFB5F0

Accessibility & contrast

On white

5.63
#684FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#684FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FDB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FDB#FFFFFF#000000##FFFFFF
##684FDB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#39718E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684fdb;
/* rgb */ color: rgb(104, 79, 219);
/* oklch */ color: oklch(53.4% 0.204 285.4);
Tailwind
colors: {
  custom: {
    50: '#9d82e7',
    500: '#684fdb',
    950: '#000000',
  },
}
SCSS
$custom: #684fdb;
$custom-light: #9d82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#684fdb",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 250.714,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.20365,
    "h": 285.4
  },
  "luminance": 0.13649
}

Semantic roles & 50–950 ramp

primary
#684FDB
secondary
#D5DFA7
accent
#E93FCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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