#684285#684285

#684285 is a mid, moderate violet. Relative luminance 0.085; OKLCH L 45.3% C 0.113 H 308.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#684285
RGBrgb(104, 66, 133)
HSLhsl(274, 34%, 39%)
HSVhsv(274, 50%, 52%)
CMYKcmyk(21.8%, 50.4%, 0%, 47.8%)
CIE-LABlab(35.07, 29.94, -31.42)
CIE-LCHlch(35.07, 43.40, 313.62°)
OKLaboklab(45.26% 0.0704 -0.0878)
OKLCHoklch(45.26% 0.113 308.7)
XYZxyz(11.8900, 8.5331, 23.2064)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684285 #5F8542
analogous
#474285 #684285 #854281
triadic
#684285 #856842 #428568
tetradic
#684285 #854742 #5F8542 #428185
square
#684285 #854742 #5F8542 #428185
split-complementary
#684285 #818542 #428547
monochromatic
#281933 #482E5C #684285 #8858AC #A581C0

Accessibility & contrast

On white

7.76
#684285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#684285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684285
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684285#FFFFFF#000000##FFFFFF
##6842851.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315187
Deuteranopia (green-blind)
#3B5383
Tritanopia (blue-blind)
#644D5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #684285;
/* rgb */ color: rgb(104, 66, 133);
/* oklch */ color: oklch(45.3% 0.113 308.7);
Tailwind
colors: {
  custom: {
    50: '#9577a9',
    500: '#684285',
    950: '#000000',
  },
}
SCSS
$custom: #684285;
$custom-light: #9577a9;
$custom-dark: #000000;
JSON
{
  "hex": "#684285",
  "rgb": {
    "r": 104,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 274.03,
    "s": 33.668,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45262,
    "c": 0.11255,
    "h": 308.7
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#684285
secondary
#8EAB78
accent
#CA5E8D
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684285

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

Preview Lab → · Contrast checker → · Palette generator →

#684285 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva