#6852BE#6852BE

#6852BE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.7% C 0.163 H 288.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6852BE
RGBrgb(104, 82, 190)
HSLhsl(252, 45%, 53%)
HSVhsv(252, 57%, 75%)
CMYKcmyk(45.3%, 56.8%, 0%, 25.5%)
CIE-LABlab(42.30, 35.94, -54.00)
CIE-LCHlch(42.30, 64.86, 303.64°)
OKLaboklab(51.75% 0.0524 -0.1539)
OKLCHoklch(51.75% 0.163 288.8)
XYZxyz(18.0178, 12.6947, 50.2062)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852BE #A8BE52
analogous
#5272BE #6852BE #9E52BE
triadic
#6852BE #BE6852 #52BE68
tetradic
#6852BE #BE5272 #A8BE52 #52BE9E
square
#6852BE #BE5272 #A8BE52 #52BE9E
split-complementary
#6852BE #BE9E52 #72BE52
monochromatic
#37296D #4D3A99 #6852BE #8F7ECF #B6ABDF

Accessibility & contrast

On white

5.93
#6852BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6852BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852BE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852BE#FFFFFF#000000##FFFFFF
##6852BE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C2
Deuteranopia (green-blind)
#1261BC
Tritanopia (blue-blind)
#4E6A80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6852be;
/* rgb */ color: rgb(104, 82, 190);
/* oklch */ color: oklch(51.7% 0.163 288.8);
Tailwind
colors: {
  custom: {
    50: '#9983d2',
    500: '#6852be',
    950: '#000000',
  },
}
SCSS
$custom: #6852be;
$custom-light: #9983d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6852be",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 252.222,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.16261,
    "h": 288.8
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#6852BE
secondary
#C4CD9F
accent
#D553BB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6852BE

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

Preview Lab → · Contrast checker → · Palette generator →

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