#6872F6#6872F6

#6872F6 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.4% C 0.195 H 275.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6872F6
RGBrgb(104, 114, 246)
HSLhsl(236, 89%, 69%)
HSVhsv(236, 58%, 96%)
CMYKcmyk(57.7%, 53.7%, 0%, 3.5%)
CIE-LABlab(53.63, 33.96, -67.54)
CIE-LCHlch(53.63, 75.60, 296.69°)
OKLaboklab(61.36% 0.0196 -0.1936)
OKLCHoklch(61.36% 0.195 275.8)
XYZxyz(28.3554, 21.6294, 89.8516)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872F6 #F6EC68
analogous
#68B9F6 #6872F6 #A568F6
triadic
#6872F6 #F66872 #72F668
tetradic
#6872F6 #F668B9 #F6EC68 #68F6A5
square
#6872F6 #F668B9 #F6EC68 #68F6A5
split-complementary
#6872F6 #F6A568 #B9F668
monochromatic
#0D1BD7 #2E3CF3 #6872F6 #A2A8F9 #DCDEFD

Accessibility & contrast

On white

3.94
#6872F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6872F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872F6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872F6#FFFFFF#000000##000000
##6872F61.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1886FB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#0091A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6872f6;
/* rgb */ color: rgb(104, 114, 246);
/* oklch */ color: oklch(61.4% 0.195 275.8);
Tailwind
colors: {
  custom: {
    50: '#9f9afa',
    500: '#6872f6',
    950: '#000000',
  },
}
SCSS
$custom: #6872f6;
$custom-light: #9f9afa;
$custom-dark: #000000;
JSON
{
  "hex": "#6872f6",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 235.775,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.19458,
    "h": 275.8
  },
  "luminance": 0.21632
}

Semantic roles & 50–950 ramp

primary
#6872F6
secondary
#F2EFC8
accent
#D500E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6872F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6872F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva