#6851ED#6851ED

#6851ED is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.2% C 0.223 H 283.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6851ED
RGBrgb(104, 81, 237)
HSLhsl(249, 81%, 62%)
HSVhsv(249, 66%, 93%)
CMYKcmyk(56.1%, 65.8%, 0%, 7.1%)
CIE-LABlab(45.55, 50.42, -75.63)
CIE-LCHlch(45.55, 90.90, 303.69°)
OKLaboklab(55.21% 0.0502 -0.2176)
OKLCHoklch(55.21% 0.223 283)
XYZxyz(23.9327, 14.9408, 81.7271)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851ED #D6ED51
analogous
#5188ED #6851ED #B651ED
triadic
#6851ED #ED6851 #51ED68
tetradic
#6851ED #ED5188 #D6ED51 #51EDB6
square
#6851ED #ED5188 #D6ED51 #51EDB6
split-complementary
#6851ED #EDB651 #88ED51
monochromatic
#2A12B1 #381AE7 #6851ED #9888F3 #C8C0F8

Accessibility & contrast

On white

5.27
#6851ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6851ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851ED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851ED#FFFFFF#000000##FFFFFF
##6851ED1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#227998
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6851ed;
/* rgb */ color: rgb(104, 81, 237);
/* oklch */ color: oklch(55.2% 0.223 283.0);
Tailwind
colors: {
  custom: {
    50: '#9f83f4',
    500: '#6851ed',
    950: '#000000',
  },
}
SCSS
$custom: #6851ed;
$custom-light: #9f83f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6851ed",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 237
  },
  "hsl": {
    "h": 248.846,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55213,
    "c": 0.22328,
    "h": 283
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#6851ED
secondary
#E1E9B0
accent
#DE08BE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6851ED

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

Preview Lab → · Contrast checker → · Palette generator →

#6851ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva