#6852BC#6852BC

#6852BC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.6% C 0.160 H 289.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6852BC
RGBrgb(104, 82, 188)
HSLhsl(252, 44%, 53%)
HSVhsv(252, 56%, 74%)
CMYKcmyk(44.7%, 56.4%, 0%, 26.3%)
CIE-LABlab(42.17, 35.35, -53.04)
CIE-LCHlch(42.17, 63.74, 303.68°)
OKLaboklab(51.61% 0.0524 -0.1511)
OKLCHoklch(51.61% 0.16 289.1)
XYZxyz(17.8007, 12.6078, 49.0628)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852BC #A6BC52
analogous
#5271BC #6852BC #9D52BC
triadic
#6852BC #BC6852 #52BC68
tetradic
#6852BC #BC5271 #A6BC52 #52BC9D
square
#6852BC #BC5271 #A6BC52 #52BC9D
split-complementary
#6852BC #BC9D52 #71BC52
monochromatic
#37296A #4D3A97 #6852BC #8F7ECD #B5AADE

Accessibility & contrast

On white

5.96
#6852BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6852BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852BC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852BC#FFFFFF#000000##FFFFFF
##6852BC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#4F697F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6852bc;
/* rgb */ color: rgb(104, 82, 188);
/* oklch */ color: oklch(51.6% 0.160 289.1);
Tailwind
colors: {
  custom: {
    50: '#9983d1',
    500: '#6852bc',
    950: '#000000',
  },
}
SCSS
$custom: #6852bc;
$custom-light: #9983d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6852bc",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 252.453,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51608,
    "c": 0.15996,
    "h": 289.1
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#6852BC
secondary
#C2CC9E
accent
#D454B9
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6852BC

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

Preview Lab → · Contrast checker → · Palette generator →

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