#684FD2#684FD2

#684FD2 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.192 H 286.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#684FD2
RGBrgb(104, 79, 210)
HSLhsl(251, 59%, 57%)
HSVhsv(251, 62%, 82%)
CMYKcmyk(50.5%, 62.4%, 0%, 17.6%)
CIE-LABlab(43.04, 43.56, -64.37)
CIE-LCHlch(43.04, 77.72, 304.09°)
OKLaboklab(52.74% 0.0549 -0.1845)
OKLCHoklch(52.74% 0.192 286.6)
XYZxyz(20.1343, 13.1872, 62.4447)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FD2 #B9D24F
analogous
#4F78D2 #684FD2 #A94FD2
triadic
#684FD2 #D2684F #4FD268
tetradic
#684FD2 #D24F78 #B9D24F #4FD2A9
square
#684FD2 #D24F78 #B9D24F #4FD2A9
split-complementary
#684FD2 #D2A94F #78D24F
monochromatic
#352285 #482EB5 #684FD2 #9280DE #BCB0EB

Accessibility & contrast

On white

5.77
#684FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#684FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FD2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FD2#FFFFFF#000000##FFFFFF
##684FD21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#416E89
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684fd2;
/* rgb */ color: rgb(104, 79, 210);
/* oklch */ color: oklch(52.7% 0.192 286.6);
Tailwind
colors: {
  custom: {
    50: '#9c81e1',
    500: '#684fd2',
    950: '#000000',
  },
}
SCSS
$custom: #684fd2;
$custom-light: #9c81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#684fd2",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 251.45,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.19245,
    "h": 286.6
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#684FD2
secondary
#CFD9A4
accent
#E245C4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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