#6852DA#6852DA

#6852DA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.8% C 0.199 H 285.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6852DA
RGBrgb(104, 82, 218)
HSLhsl(250, 65%, 59%)
HSVhsv(250, 62%, 85%)
CMYKcmyk(52.3%, 62.4%, 0%, 14.5%)
CIE-LABlab(44.29, 44.21, -66.92)
CIE-LCHlch(44.29, 80.21, 303.45°)
OKLaboklab(53.84% 0.0513 -0.192)
OKLCHoklch(53.84% 0.199 285)
XYZxyz(21.3773, 14.0385, 67.8993)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852DA #C4DA52
analogous
#5280DA #6852DA #AC52DA
triadic
#6852DA #DA6852 #52DA68
tetradic
#6852DA #DA5280 #C4DA52 #52DAAC
square
#6852DA #DA5280 #C4DA52 #52DAAC
split-complementary
#6852DA #DAAC52 #80DA52
monochromatic
#321F92 #432AC5 #6852DA #9484E5 #C0B7F0

Accessibility & contrast

On white

5.51
#6852DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6852DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852DA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852DA#FFFFFF#000000##FFFFFF
##6852DA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#3A738E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6852da;
/* rgb */ color: rgb(104, 82, 218);
/* oklch */ color: oklch(53.8% 0.199 285.0);
Tailwind
colors: {
  custom: {
    50: '#9c84e6',
    500: '#6852da',
    950: '#000000',
  },
}
SCSS
$custom: #6852da;
$custom-light: #9c84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6852da",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 249.706,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.1987,
    "h": 285
  },
  "luminance": 0.1404
}

Semantic roles & 50–950 ramp

primary
#6852DA
secondary
#D6DFA9
accent
#E840CD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6852DA

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

Preview Lab → · Contrast checker → · Palette generator →

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