#6852BA#6852BA

#6852BA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.157 H 289.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6852BA
RGBrgb(104, 82, 186)
HSLhsl(253, 43%, 53%)
HSVhsv(253, 56%, 73%)
CMYKcmyk(44.1%, 55.9%, 0%, 27.1%)
CIE-LABlab(42.03, 34.77, -52.09)
CIE-LCHlch(42.03, 62.63, 303.72°)
OKLaboklab(51.47% 0.0523 -0.1483)
OKLCHoklch(51.47% 0.157 289.4)
XYZxyz(17.5866, 12.5222, 47.9353)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852BA #A4BA52
analogous
#5270BA #6852BA #9C52BA
triadic
#6852BA #BA6852 #52BA68
tetradic
#6852BA #BA5270 #A4BA52 #52BA9C
square
#6852BA #BA5270 #A4BA52 #52BA9C
split-complementary
#6852BA #BA9C52 #70BA52
monochromatic
#372A68 #4E3B94 #6852BA #8E7ECB #B4AADD

Accessibility & contrast

On white

5.99
#6852BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6852BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852BA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852BA#FFFFFF#000000##FFFFFF
##6852BA1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BE
Deuteranopia (green-blind)
#1C61B8
Tritanopia (blue-blind)
#50697E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6852ba;
/* rgb */ color: rgb(104, 82, 186);
/* oklch */ color: oklch(51.5% 0.157 289.4);
Tailwind
colors: {
  custom: {
    50: '#9883cf',
    500: '#6852ba',
    950: '#000000',
  },
}
SCSS
$custom: #6852ba;
$custom-light: #9883cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6852ba",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 252.692,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.1573,
    "h": 289.4
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#6852BA
secondary
#C1CA9D
accent
#D355B8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6852BA

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

Preview Lab → · Contrast checker → · Palette generator →

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