#684BF2#684BF2

#684BF2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.236 H 283.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#684BF2
RGBrgb(104, 75, 242)
HSLhsl(250, 87%, 62%)
HSVhsv(250, 69%, 95%)
CMYKcmyk(57%, 69%, 0%, 5.1%)
CIE-LABlab(44.78, 55.13, -79.71)
CIE-LCHlch(44.78, 96.92, 304.67°)
OKLaboklab(54.78% 0.0543 -0.2295)
OKLCHoklch(54.78% 0.236 283.3)
XYZxyz(24.2471, 14.3845, 85.4860)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BF2 #D5F24B
analogous
#4B82F2 #684BF2 #BB4BF2
triadic
#684BF2 #F2684B #4BF268
tetradic
#684BF2 #F24B82 #D5F24B #4BF2BB
square
#684BF2 #F24B82 #D5F24B #4BF2BB
split-complementary
#684BF2 #F2BB4B #82F24B
monochromatic
#2A0DB5 #3812EE #684BF2 #9884F6 #C8BDFA

Accessibility & contrast

On white

5.42
#684BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#684BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BF2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BF2#FFFFFF#000000##FFFFFF
##684BF21.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF7
Deuteranopia (green-blind)
#0064EF
Tritanopia (blue-blind)
#197799
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #684bf2;
/* rgb */ color: rgb(104, 75, 242);
/* oklch */ color: oklch(54.8% 0.236 283.3);
Tailwind
colors: {
  custom: {
    50: '#a080f8',
    500: '#684bf2',
    950: '#000000',
  },
}
SCSS
$custom: #684bf2;
$custom-light: #a080f8;
$custom-dark: #000000;
JSON
{
  "hex": "#684bf2",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 242
  },
  "hsl": {
    "h": 250.419,
    "s": 86.528,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54784,
    "c": 0.23585,
    "h": 283.3
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#684BF2
secondary
#E0EBAE
accent
#E302BC
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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