#684FCA#684FCA

#684FCA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.182 H 287.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#684FCA
RGBrgb(104, 79, 202)
HSLhsl(252, 54%, 55%)
HSVhsv(252, 61%, 79%)
CMYKcmyk(48.5%, 60.9%, 0%, 20.8%)
CIE-LABlab(42.46, 41.21, -60.71)
CIE-LCHlch(42.46, 73.37, 304.17°)
OKLaboklab(52.13% 0.0554 -0.1737)
OKLCHoklch(52.13% 0.182 287.7)
XYZxyz(19.1625, 12.7984, 57.3263)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FCA #B1CA4F
analogous
#4F74CA #684FCA #A54FCA
triadic
#684FCA #CA684F #4FCA68
tetradic
#684FCA #CA4F74 #B1CA4F #4FCAA5
square
#684FCA #CA4F74 #B1CA4F #4FCAA5
split-complementary
#684FCA #CAA54F #74CA4F
monochromatic
#36257A #4B33A9 #684FCA #907ED8 #B9ADE6

Accessibility & contrast

On white

5.90
#684FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#684FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FCA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FCA#FFFFFF#000000##FFFFFF
##684FCA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#476C85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684fca;
/* rgb */ color: rgb(104, 79, 202);
/* oklch */ color: oklch(52.1% 0.182 287.7);
Tailwind
colors: {
  custom: {
    50: '#9a81db',
    500: '#684fca',
    950: '#000000',
  },
}
SCSS
$custom: #684fca;
$custom-light: #9a81db;
$custom-dark: #000000;
JSON
{
  "hex": "#684fca",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 252.195,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.18231,
    "h": 287.7
  },
  "luminance": 0.12799
}

Semantic roles & 50–950 ramp

primary
#684FCA
secondary
#CAD4A1
accent
#DD4BBF
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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