#684BC0#684BC0

#684BC0 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.175 H 290.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#684BC0
RGBrgb(104, 75, 192)
HSLhsl(255, 48%, 52%)
HSVhsv(255, 61%, 75%)
CMYKcmyk(45.8%, 60.9%, 0%, 24.7%)
CIE-LABlab(40.86, 40.62, -57.48)
CIE-LCHlch(40.86, 70.38, 305.25°)
OKLaboklab(50.74% 0.0603 -0.1642)
OKLCHoklch(50.74% 0.175 290.2)
XYZxyz(17.7367, 11.7803, 51.1982)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BC0 #A3C04B
analogous
#4B68C0 #684BC0 #A34BC0
triadic
#684BC0 #C0684B #4BC068
tetradic
#684BC0 #C04B68 #A3C04B #4BC0A3
square
#684BC0 #C04B68 #A3C04B #4BC0A3
split-complementary
#684BC0 #C0A34B #68C04B
monochromatic
#37256B #4E3598 #684BC0 #8E78D0 #B4A6E0

Accessibility & contrast

On white

6.26
#684BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#684BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BC0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BC0#FFFFFF#000000##FFFFFF
##684BC01.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#4D667E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684bc0;
/* rgb */ color: rgb(104, 75, 192);
/* oklch */ color: oklch(50.7% 0.175 290.2);
Tailwind
colors: {
  custom: {
    50: '#997ed4',
    500: '#684bc0',
    950: '#000000',
  },
}
SCSS
$custom: #684bc0;
$custom-light: #997ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#684bc0",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 254.872,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.17493,
    "h": 290.2
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#684BC0
secondary
#C0CD9A
accent
#D850B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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