#6952CC#6952CC

#6952CC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.181 H 287.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#6952CC
RGBrgb(105, 82, 204)
HSLhsl(251, 54%, 56%)
HSVhsv(251, 60%, 80%)
CMYKcmyk(48.5%, 59.8%, 0%, 20%)
CIE-LABlab(43.35, 40.26, -60.40)
CIE-LCHlch(43.35, 72.59, 303.68°)
OKLaboklab(52.85% 0.0534 -0.1728)
OKLCHoklch(52.85% 0.181 287.2)
XYZxyz(19.7389, 13.3966, 58.6608)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6952CC #B5CC52
analogous
#5278CC #6952CC #A652CC
triadic
#6952CC #CC6952 #52CC69
tetradic
#6952CC #CC5278 #B5CC52 #52CCA6
square
#6952CC #CC5278 #B5CC52 #52CCA6
split-complementary
#6952CC #CCA652 #78CC52
monochromatic
#36257E #4A33AE #6952CC #9281DA #BBB1E8

Accessibility & contrast

On white

5.71
#6952CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6952CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6952CC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6952CC#FFFFFF#000000##FFFFFF
##6952CC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#476E87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6952cc;
/* rgb */ color: rgb(105, 82, 204);
/* oklch */ color: oklch(52.9% 0.181 287.2);
Tailwind
colors: {
  custom: {
    50: '#9b83dc',
    500: '#6952cc',
    950: '#000000',
  },
}
SCSS
$custom: #6952cc;
$custom-light: #9b83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6952cc",
  "rgb": {
    "r": 105,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 251.311,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.18083,
    "h": 287.2
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

primary
#6952CC
secondary
#CDD6A4
accent
#DE4AC2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6952CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6952CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva