#6852CF#6852CF

#6852CF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.185 H 286.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6852CF
RGBrgb(104, 82, 207)
HSLhsl(251, 57%, 57%)
HSVhsv(251, 60%, 81%)
CMYKcmyk(49.8%, 60.4%, 0%, 18.8%)
CIE-LABlab(43.48, 40.94, -61.93)
CIE-LCHlch(43.48, 74.24, 303.47°)
OKLaboklab(52.99% 0.052 -0.1773)
OKLCHoklch(52.99% 0.185 286.3)
XYZxyz(19.9854, 13.4817, 60.5686)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852CF #B9CF52
analogous
#527BCF #6852CF #A752CF
triadic
#6852CF #CF6852 #52CF68
tetradic
#6852CF #CF527B #B9CF52 #52CFA7
square
#6852CF #CF527B #B9CF52 #52CFA7
split-complementary
#6852CF #CFA752 #7BCF52
monochromatic
#352482 #4831B2 #6852CF #9282DC #BCB2EA

Accessibility & contrast

On white

5.68
#6852CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6852CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852CF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852CF#FFFFFF#000000##FFFFFF
##6852CF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#436F89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6852cf;
/* rgb */ color: rgb(104, 82, 207);
/* oklch */ color: oklch(53.0% 0.185 286.3);
Tailwind
colors: {
  custom: {
    50: '#9b83de',
    500: '#6852cf',
    950: '#000000',
  },
}
SCSS
$custom: #6852cf;
$custom-light: #9b83de;
$custom-dark: #000000;
JSON
{
  "hex": "#6852cf",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 250.56,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.18475,
    "h": 286.3
  },
  "luminance": 0.13483
}

Semantic roles & 50–950 ramp

primary
#6852CF
secondary
#CFD8A5
accent
#E048C5
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6852CF

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

Preview Lab → · Contrast checker → · Palette generator →

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