#6852D7#6852D7

#6852D7 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.6% C 0.195 H 285.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6852D7
RGBrgb(104, 82, 215)
HSLhsl(250, 62%, 58%)
HSVhsv(250, 62%, 84%)
CMYKcmyk(51.6%, 61.9%, 0%, 15.7%)
CIE-LABlab(44.06, 43.32, -65.57)
CIE-LCHlch(44.06, 78.59, 303.45°)
OKLaboklab(53.6% 0.0515 -0.188)
OKLCHoklch(53.6% 0.195 285.3)
XYZxyz(20.9883, 13.8828, 65.8505)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852D7 #C1D752
analogous
#527ED7 #6852D7 #AA52D7
triadic
#6852D7 #D76852 #52D768
tetradic
#6852D7 #D7527E #C1D752 #52D7AA
square
#6852D7 #D7527E #C1D752 #52D7AA
split-complementary
#6852D7 #D7AA52 #7ED752
monochromatic
#33218E #452CC0 #6852D7 #9384E2 #BFB5EE

Accessibility & contrast

On white

5.56
#6852D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6852D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852D7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852D7#FFFFFF#000000##FFFFFF
##6852D71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#3C728D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6852d7;
/* rgb */ color: rgb(104, 82, 215);
/* oklch */ color: oklch(53.6% 0.195 285.3);
Tailwind
colors: {
  custom: {
    50: '#9c84e4',
    500: '#6852d7',
    950: '#000000',
  },
}
SCSS
$custom: #6852d7;
$custom-light: #9c84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6852d7",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 249.925,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.19492,
    "h": 285.3
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#6852D7
secondary
#D4DDA8
accent
#E642CB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6852D7

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

Preview Lab → · Contrast checker → · Palette generator →

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