#684DC8#684DC8

#684DC8 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.182 H 288.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#684DC8
RGBrgb(104, 77, 200)
HSLhsl(253, 53%, 54%)
HSVhsv(253, 62%, 78%)
CMYKcmyk(48%, 61.5%, 0%, 21.6%)
CIE-LABlab(41.88, 41.78, -60.49)
CIE-LCHlch(41.88, 73.52, 304.63°)
OKLaboklab(51.66% 0.0577 -0.1731)
OKLCHoklch(51.66% 0.182 288.4)
XYZxyz(18.7851, 12.4202, 56.0399)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DC8 #ADC84D
analogous
#4D70C8 #684DC8 #A64DC8
triadic
#684DC8 #C8684D #4DC868
tetradic
#684DC8 #C84D70 #ADC84D #4DC8A6
square
#684DC8 #C84D70 #ADC84D #4DC8A6
split-complementary
#684DC8 #C8A64D #70C84D
monochromatic
#362476 #4C33A5 #684DC8 #907CD6 #B7ABE5

Accessibility & contrast

On white

6.03
#684DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#684DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DC8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DC8#FFFFFF#000000##FFFFFF
##684DC81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#486A83
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684dc8;
/* rgb */ color: rgb(104, 77, 200);
/* oklch */ color: oklch(51.7% 0.182 288.4);
Tailwind
colors: {
  custom: {
    50: '#9a80da',
    500: '#684dc8',
    950: '#000000',
  },
}
SCSS
$custom: #684dc8;
$custom-light: #9a80da;
$custom-dark: #000000;
JSON
{
  "hex": "#684dc8",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 253.171,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5166,
    "c": 0.18242,
    "h": 288.4
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#684DC8
secondary
#C7D29E
accent
#DC4CBC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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