#6855EC#6855EC

#6855EC is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.217 H 282.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6855EC
RGBrgb(104, 85, 236)
HSLhsl(248, 80%, 63%)
HSVhsv(248, 64%, 93%)
CMYKcmyk(55.9%, 64%, 0%, 7.5%)
CIE-LABlab(46.30, 47.88, -73.84)
CIE-LCHlch(46.30, 88.01, 302.96°)
OKLaboklab(55.73% 0.0469 -0.2123)
OKLCHoklch(55.73% 0.217 282.4)
XYZxyz(24.0931, 15.4947, 81.0618)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6855EC #D9EC55
analogous
#558DEC #6855EC #B455EC
triadic
#6855EC #EC6855 #55EC68
tetradic
#6855EC #EC558D #D9EC55 #55ECB4
square
#6855EC #EC558D #D9EC55 #55ECB4
split-complementary
#6855EC #ECB455 #8DEC55
monochromatic
#2814B3 #371EE6 #6855EC #998CF2 #CAC3F8

Accessibility & contrast

On white

5.12
#6855EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6855EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6855EC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6855EC#FFFFFF#000000##FFFFFF
##6855EC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#237B99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6855ec;
/* rgb */ color: rgb(104, 85, 236);
/* oklch */ color: oklch(55.7% 0.217 282.4);
Tailwind
colors: {
  custom: {
    50: '#9f86f3',
    500: '#6855ec',
    950: '#000000',
  },
}
SCSS
$custom: #6855ec;
$custom-light: #9f86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6855ec",
  "rgb": {
    "r": 104,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 247.55,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.21741,
    "h": 282.4
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#6855EC
secondary
#E3EAB3
accent
#DC09C2
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6855EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6855EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva