#6852ED#6852ED

#6852ED is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.4% C 0.222 H 282.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6852ED
RGBrgb(104, 82, 237)
HSLhsl(249, 81%, 63%)
HSVhsv(249, 65%, 93%)
CMYKcmyk(56.1%, 65.4%, 0%, 7.1%)
CIE-LABlab(45.76, 49.86, -75.30)
CIE-LCHlch(45.76, 90.31, 303.51°)
OKLaboklab(55.36% 0.0493 -0.2166)
OKLCHoklch(55.36% 0.222 282.8)
XYZxyz(24.0076, 15.0906, 81.7520)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852ED #D7ED52
analogous
#528AED #6852ED #B552ED
triadic
#6852ED #ED6852 #52ED68
tetradic
#6852ED #ED528A #D7ED52 #52EDB5
square
#6852ED #ED528A #D7ED52 #52EDB5
split-complementary
#6852ED #EDB552 #8AED52
monochromatic
#2913B2 #381BE7 #6852ED #9889F3 #C9C1F9

Accessibility & contrast

On white

5.23
#6852ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6852ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852ED
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852ED#FFFFFF#000000##FFFFFF
##6852ED1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#227999
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6852ed;
/* rgb */ color: rgb(104, 82, 237);
/* oklch */ color: oklch(55.4% 0.222 282.8);
Tailwind
colors: {
  custom: {
    50: '#9f84f4',
    500: '#6852ed',
    950: '#000000',
  },
}
SCSS
$custom: #6852ed;
$custom-light: #9f84f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6852ed",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 248.516,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55361,
    "c": 0.22212,
    "h": 282.8
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#6852ED
secondary
#E2EAB1
accent
#DE08BF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6852ED

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

Preview Lab → · Contrast checker → · Palette generator →

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