#684BE7#684BE7

#684BE7 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.223 H 284.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#684BE7
RGBrgb(104, 75, 231)
HSLhsl(251, 76%, 60%)
HSVhsv(251, 68%, 91%)
CMYKcmyk(55%, 67.5%, 0%, 9.4%)
CIE-LABlab(43.86, 51.93, -75.01)
CIE-LCHlch(43.86, 91.23, 304.70°)
OKLaboklab(53.85% 0.0561 -0.2157)
OKLCHoklch(53.85% 0.223 284.6)
XYZxyz(22.6444, 13.7434, 77.0453)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BE7 #CAE74B
analogous
#4B7CE7 #684BE7 #B64BE7
triadic
#684BE7 #E7684B #4BE768
tetradic
#684BE7 #E74B7C #CAE74B #4BE7B6
square
#684BE7 #E74B7C #CAE74B #4BE7B6
split-complementary
#684BE7 #E7B64B #7CE74B
monochromatic
#3016A2 #401DD8 #684BE7 #9581EE #C3B7F5

Accessibility & contrast

On white

5.60
#684BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#684BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BE7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BE7#FFFFFF#000000##FFFFFF
##684BE71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#2C7393
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684be7;
/* rgb */ color: rgb(104, 75, 231);
/* oklch */ color: oklch(53.8% 0.223 284.6);
Tailwind
colors: {
  custom: {
    50: '#9f7ff0',
    500: '#684be7',
    950: '#000000',
  },
}
SCSS
$custom: #684be7;
$custom-light: #9f7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#684be7",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 251.154,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.2229,
    "h": 284.6
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#684BE7
secondary
#DAE5A9
accent
#F335D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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