#684FD5#684FD5

#684FD5 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.196 H 286.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#684FD5
RGBrgb(104, 79, 213)
HSLhsl(251, 61%, 57%)
HSVhsv(251, 63%, 84%)
CMYKcmyk(51.2%, 62.9%, 0%, 16.5%)
CIE-LABlab(43.27, 44.44, -65.72)
CIE-LCHlch(43.27, 79.34, 304.07°)
OKLaboklab(52.98% 0.0546 -0.1884)
OKLCHoklch(52.98% 0.196 286.2)
XYZxyz(20.5116, 13.3381, 64.4316)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FD5 #BCD54F
analogous
#4F79D5 #684FD5 #AB4FD5
triadic
#684FD5 #D5684F #4FD568
tetradic
#684FD5 #D54F79 #BCD54F #4FD5AB
square
#684FD5 #D54F79 #BCD54F #4FD5AB
split-complementary
#684FD5 #D5AB4F #79D54F
monochromatic
#342189 #472CBA #684FD5 #9280E1 #BDB2ED

Accessibility & contrast

On white

5.73
#684FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#684FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FD5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FD5#FFFFFF#000000##FFFFFF
##684FD51.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#3E6F8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684fd5;
/* rgb */ color: rgb(104, 79, 213);
/* oklch */ color: oklch(53.0% 0.196 286.2);
Tailwind
colors: {
  custom: {
    50: '#9c82e3',
    500: '#684fd5',
    950: '#000000',
  },
}
SCSS
$custom: #684fd5;
$custom-light: #9c82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#684fd5",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 251.194,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.19621,
    "h": 286.2
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#684FD5
secondary
#D1DBA5
accent
#E543C6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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