#6852BB#6852BB

#6852BB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.5% C 0.159 H 289.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6852BB
RGBrgb(104, 82, 187)
HSLhsl(253, 44%, 53%)
HSVhsv(253, 56%, 73%)
CMYKcmyk(44.4%, 56.1%, 0%, 26.7%)
CIE-LABlab(42.10, 35.06, -52.57)
CIE-LCHlch(42.10, 63.19, 303.70°)
OKLaboklab(51.54% 0.0524 -0.1497)
OKLCHoklch(51.54% 0.159 289.3)
XYZxyz(17.6933, 12.5649, 48.4971)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852BB #A5BB52
analogous
#5271BB #6852BB #9C52BB
triadic
#6852BB #BB6852 #52BB68
tetradic
#6852BB #BB5271 #A5BB52 #52BB9C
square
#6852BB #BB5271 #A5BB52 #52BB9C
split-complementary
#6852BB #BB9C52 #71BB52
monochromatic
#372969 #4E3B95 #6852BB #8E7ECC #B5AADE

Accessibility & contrast

On white

5.98
#6852BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6852BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852BB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852BB#FFFFFF#000000##FFFFFF
##6852BB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BF
Deuteranopia (green-blind)
#1A61B9
Tritanopia (blue-blind)
#4F697E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6852bb;
/* rgb */ color: rgb(104, 82, 187);
/* oklch */ color: oklch(51.5% 0.159 289.3);
Tailwind
colors: {
  custom: {
    50: '#9883d0',
    500: '#6852bb',
    950: '#000000',
  },
}
SCSS
$custom: #6852bb;
$custom-light: #9883d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6852bb",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 252.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.15863,
    "h": 289.3
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#6852BB
secondary
#C2CB9E
accent
#D354B9
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6852BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6852BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva