#6855BA#6855BA

#6855BA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.0% C 0.153 H 288.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6855BA
RGBrgb(104, 85, 186)
HSLhsl(251, 42%, 53%)
HSVhsv(251, 54%, 73%)
CMYKcmyk(44.1%, 54.3%, 0%, 27.1%)
CIE-LABlab(42.74, 32.97, -50.95)
CIE-LCHlch(42.74, 60.69, 302.91°)
OKLaboklab(51.99% 0.0487 -0.145)
OKLCHoklch(51.99% 0.153 288.6)
XYZxyz(17.8178, 12.9846, 48.0123)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6855BA #A7BA55
analogous
#5574BA #6855BA #9A55BA
triadic
#6855BA #BA6855 #55BA68
tetradic
#6855BA #BA5574 #A7BA55 #55BA9A
square
#6855BA #BA5574 #A7BA55 #55BA9A
split-complementary
#6855BA #BA9A55 #74BA55
monochromatic
#372B6A #4D3D95 #6855BA #8F81CC #B5ACDD

Accessibility & contrast

On white

5.84
#6855BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6855BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6855BA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6855BA#FFFFFF#000000##FFFFFF
##6855BA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BD
Deuteranopia (green-blind)
#2362B8
Tritanopia (blue-blind)
#4F6B7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6855ba;
/* rgb */ color: rgb(104, 85, 186);
/* oklch */ color: oklch(52.0% 0.153 288.6);
Tailwind
colors: {
  custom: {
    50: '#9885cf',
    500: '#6855ba',
    950: '#000000',
  },
}
SCSS
$custom: #6855ba;
$custom-light: #9885cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6855ba",
  "rgb": {
    "r": 104,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 251.287,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.15296,
    "h": 288.6
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#6855BA
secondary
#C3CBA0
accent
#D256BB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6855BA

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

Preview Lab → · Contrast checker → · Palette generator →

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