#6857FB#6857FB

#6857FB is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.3% C 0.233 H 280.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6857FB
RGBrgb(104, 87, 251)
HSLhsl(246, 95%, 66%)
HSVhsv(246, 65%, 98%)
CMYKcmyk(58.6%, 65.3%, 0%, 1.6%)
CIE-LABlab(47.91, 51.27, -79.63)
CIE-LCHlch(47.91, 94.71, 302.78°)
OKLaboklab(57.26% 0.0435 -0.2293)
OKLCHoklch(57.26% 0.233 280.8)
XYZxyz(26.5242, 16.7226, 93.0782)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857FB #EAFB57
analogous
#5798FB #6857FB #BA57FB
triadic
#6857FB #FB6857 #57FB68
tetradic
#6857FB #FB5798 #EAFB57 #57FBBA
square
#6857FB #FB5798 #EAFB57 #57FBBA
split-complementary
#6857FB #FBBA57 #98FB57
monochromatic
#1A05D3 #321BFA #6857FB #9E93FC #D3CFFE

Accessibility & contrast

On white

4.83
#6857FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6857FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857FB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857FB#FFFFFF#000000##FFFFFF
##6857FB1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006CF8
Tritanopia (blue-blind)
#0081A2
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6857fb;
/* rgb */ color: rgb(104, 87, 251);
/* oklch */ color: oklch(57.3% 0.233 280.8);
Tailwind
colors: {
  custom: {
    50: '#a188fe',
    500: '#6857fb',
    950: '#000000',
  },
}
SCSS
$custom: #6857fb;
$custom-light: #a188fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6857fb",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 246.22,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.23336,
    "h": 280.8
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#6857FB
secondary
#ECF2BC
accent
#E600CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6857FB

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

Preview Lab → · Contrast checker → · Palette generator →

#6857FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva