#684DDD#684DDD

#684DDD is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.3% C 0.209 H 285.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#684DDD
RGBrgb(104, 77, 221)
HSLhsl(251, 68%, 58%)
HSVhsv(251, 65%, 87%)
CMYKcmyk(52.9%, 65.2%, 0%, 13.3%)
CIE-LABlab(43.46, 47.92, -69.98)
CIE-LCHlch(43.46, 84.81, 304.40°)
OKLaboklab(53.31% 0.0557 -0.201)
OKLCHoklch(53.31% 0.209 285.5)
XYZxyz(21.4100, 13.4701, 69.8644)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DDD #C2DD4D
analogous
#4D7ADD #684DDD #B04DDD
triadic
#684DDD #DD684D #4DDD68
tetradic
#684DDD #DD4D7A #C2DD4D #4DDDB0
square
#684DDD #DD4D7A #C2DD4D #4DDDB0
split-complementary
#684DDD #DDB04D #7ADD4D
monochromatic
#331C93 #4426C7 #684DDD #9480E7 #BFB4F1

Accessibility & contrast

On white

5.68
#684DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#684DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DDD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DDD#FFFFFF#000000##FFFFFF
##684DDD1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0062DA
Tritanopia (blue-blind)
#37718E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684ddd;
/* rgb */ color: rgb(104, 77, 221);
/* oklch */ color: oklch(53.3% 0.209 285.5);
Tailwind
colors: {
  custom: {
    50: '#9d80e9',
    500: '#684ddd',
    950: '#000000',
  },
}
SCSS
$custom: #684ddd;
$custom-light: #9d80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#684ddd",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 251.25,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.20854,
    "h": 285.5
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#684DDD
secondary
#D5DFA6
accent
#EB3DCA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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