#6852F5#6852F5

#6852F5 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 56.0% C 0.232 H 282.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6852F5
RGBrgb(104, 82, 245)
HSLhsl(248, 89%, 64%)
HSVhsv(248, 67%, 96%)
CMYKcmyk(57.6%, 66.5%, 0%, 3.9%)
CIE-LABlab(46.40, 52.24, -78.74)
CIE-LCHlch(46.40, 94.49, 303.56°)
OKLaboklab(56.03% 0.0483 -0.2267)
OKLCHoklch(56.03% 0.232 282)
XYZxyz(25.2025, 15.5685, 88.0455)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852F5 #DFF552
analogous
#528EF5 #6852F5 #BA52F5
triadic
#6852F5 #F56852 #52F568
tetradic
#6852F5 #F5528E #DFF552 #52F5BA
square
#6852F5 #F5528E #DFF552 #52F5BA
split-complementary
#6852F5 #F5BA52 #8EF552
monochromatic
#240BC1 #3618F2 #6852F5 #9A8CF8 #CDC6FC

Accessibility & contrast

On white

5.10
#6852F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6852F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852F5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852F5#FFFFFF#000000##FFFFFF
##6852F51.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#0068F2
Tritanopia (blue-blind)
#0D7C9D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6852f5;
/* rgb */ color: rgb(104, 82, 245);
/* oklch */ color: oklch(56.0% 0.232 282.0);
Tailwind
colors: {
  custom: {
    50: '#a084fa',
    500: '#6852f5',
    950: '#000000',
  },
}
SCSS
$custom: #6852f5;
$custom-light: #a084fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6852f5",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 248.098,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56026,
    "c": 0.23175,
    "h": 282
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#6852F5
secondary
#E6EEB5
accent
#E600C7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6852F5

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

Preview Lab → · Contrast checker → · Palette generator →

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