#684AC0#684AC0

#684AC0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.176 H 290.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#684AC0
RGBrgb(104, 74, 192)
HSLhsl(255, 48%, 52%)
HSVhsv(255, 61%, 75%)
CMYKcmyk(45.8%, 61.5%, 0%, 24.7%)
CIE-LABlab(40.65, 41.19, -57.83)
CIE-LCHlch(40.65, 71.00, 305.46°)
OKLaboklab(50.58% 0.0614 -0.1652)
OKLCHoklch(50.58% 0.176 290.4)
XYZxyz(17.6694, 11.6458, 51.1758)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AC0 #A2C04A
analogous
#4A67C0 #684AC0 #A34AC0
triadic
#684AC0 #C0684A #4AC068
tetradic
#684AC0 #C04A67 #A2C04A #4AC0A3
square
#684AC0 #C04A67 #A2C04A #4AC0A3
split-complementary
#684AC0 #C0A34A #67C04A
monochromatic
#37256B #4E3598 #684AC0 #8E77D0 #B4A5E0

Accessibility & contrast

On white

6.31
#684AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#684AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AC0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AC0#FFFFFF#000000##FFFFFF
##684AC01.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#4D657E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684ac0;
/* rgb */ color: rgb(104, 74, 192);
/* oklch */ color: oklch(50.6% 0.176 290.4);
Tailwind
colors: {
  custom: {
    50: '#9a7ed4',
    500: '#684ac0',
    950: '#000000',
  },
}
SCSS
$custom: #684ac0;
$custom-light: #9a7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#684ac0",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 255.254,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.17629,
    "h": 290.4
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#684AC0
secondary
#C0CD99
accent
#D850B5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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