#684BE3#684BE3

#684BE3 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.218 H 285.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#684BE3
RGBrgb(104, 75, 227)
HSLhsl(251, 73%, 59%)
HSVhsv(251, 67%, 89%)
CMYKcmyk(54.2%, 67%, 0%, 11%)
CIE-LABlab(43.54, 50.77, -73.27)
CIE-LCHlch(43.54, 89.14, 304.72°)
OKLaboklab(53.51% 0.0567 -0.2106)
OKLCHoklch(53.51% 0.218 285.1)
XYZxyz(22.0859, 13.5200, 74.1040)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BE3 #C6E34B
analogous
#4B7AE3 #684BE3 #B44BE3
triadic
#684BE3 #E3684B #4BE368
tetradic
#684BE3 #E34B7A #C6E34B #4BE3B4
square
#684BE3 #E34B7A #C6E34B #4BE3B4
split-complementary
#684BE3 #E3B44B #7AE34B
monochromatic
#31189B #4220D0 #684BE3 #9480EB #C1B5F3

Accessibility & contrast

On white

5.67
#684BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#684BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BE3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BE3#FFFFFF#000000##FFFFFF
##684BE31.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#317291
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684be3;
/* rgb */ color: rgb(104, 75, 227);
/* oklch */ color: oklch(53.5% 0.218 285.1);
Tailwind
colors: {
  custom: {
    50: '#9e7fed',
    500: '#684be3',
    950: '#000000',
  },
}
SCSS
$custom: #684be3;
$custom-light: #9e7fed;
$custom-dark: #000000;
JSON
{
  "hex": "#684be3",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 251.447,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.21813,
    "h": 285.1
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#684BE3
secondary
#D7E3A7
accent
#F038CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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