#6852CA#6852CA

#6852CA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.178 H 287.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6852CA
RGBrgb(104, 82, 202)
HSLhsl(251, 53%, 56%)
HSVhsv(251, 59%, 79%)
CMYKcmyk(48.5%, 59.4%, 0%, 20.8%)
CIE-LABlab(43.12, 39.46, -59.63)
CIE-LCHlch(43.12, 71.50, 303.50°)
OKLaboklab(52.62% 0.0522 -0.1705)
OKLCHoklch(52.62% 0.178 287)
XYZxyz(19.3838, 13.2410, 57.4001)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852CA #B4CA52
analogous
#5278CA #6852CA #A452CA
triadic
#6852CA #CA6852 #52CA68
tetradic
#6852CA #CA5278 #B4CA52 #52CAA4
square
#6852CA #CA5278 #B4CA52 #52CAA4
split-complementary
#6852CA #CAA452 #78CA52
monochromatic
#36267C #4A34AB #6852CA #9181D8 #BAB0E7

Accessibility & contrast

On white

5.76
#6852CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6852CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852CA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852CA#FFFFFF#000000##FFFFFF
##6852CA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#466E86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6852ca;
/* rgb */ color: rgb(104, 82, 202);
/* oklch */ color: oklch(52.6% 0.178 287.0);
Tailwind
colors: {
  custom: {
    50: '#9a83db',
    500: '#6852ca',
    950: '#000000',
  },
}
SCSS
$custom: #6852ca;
$custom-light: #9a83db;
$custom-dark: #000000;
JSON
{
  "hex": "#6852ca",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 251,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.17832,
    "h": 287
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#6852CA
secondary
#CCD5A3
accent
#DD4BC2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6852CA

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

Preview Lab → · Contrast checker → · Palette generator →

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