#6952DC#6952DC

#6952DC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.1% C 0.201 H 285.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6952DC
RGBrgb(105, 82, 220)
HSLhsl(250, 66%, 59%)
HSVhsv(250, 63%, 86%)
CMYKcmyk(52.3%, 62.7%, 0%, 13.7%)
CIE-LABlab(44.52, 44.98, -67.68)
CIE-LCHlch(44.52, 81.26, 303.61°)
OKLaboklab(54.08% 0.0524 -0.1942)
OKLCHoklch(54.08% 0.201 285.1)
XYZxyz(21.7574, 14.2040, 69.2915)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6952DC #C5DC52
analogous
#5280DC #6952DC #AE52DC
triadic
#6952DC #DC6952 #52DC69
tetradic
#6952DC #DC5280 #C5DC52 #52DCAE
square
#6952DC #DC5280 #C5DC52 #52DCAE
split-complementary
#6952DC #DCAE52 #80DC52
monochromatic
#321E95 #4329C8 #6952DC #9585E6 #C1B8F1

Accessibility & contrast

On white

5.47
#6952DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6952DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6952DC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6952DC#FFFFFF#000000##FFFFFF
##6952DC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#3A748F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6952dc;
/* rgb */ color: rgb(105, 82, 220);
/* oklch */ color: oklch(54.1% 0.201 285.1);
Tailwind
colors: {
  custom: {
    50: '#9d84e8',
    500: '#6952dc',
    950: '#000000',
  },
}
SCSS
$custom: #6952dc;
$custom-light: #9d84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6952dc",
  "rgb": {
    "r": 105,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 250,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.2011,
    "h": 285.1
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#6952DC
secondary
#D7E0AA
accent
#E93FCD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6952DC

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

Preview Lab → · Contrast checker → · Palette generator →

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