#6956AE#6956AE

#6956AE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.5% C 0.135 H 290.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6956AE
RGBrgb(105, 86, 174)
HSLhsl(253, 35%, 51%)
HSVhsv(253, 51%, 68%)
CMYKcmyk(39.7%, 50.6%, 0%, 31.8%)
CIE-LABlab(42.33, 29.13, -44.56)
CIE-LCHlch(42.33, 53.24, 303.18°)
OKLaboklab(51.47% 0.048 -0.1262)
OKLCHoklch(51.47% 0.135 290.8)
XYZxyz(16.7914, 12.7144, 41.6056)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6956AE #9BAE56
analogous
#566FAE #6956AE #9556AE
triadic
#6956AE #AE6956 #56AE69
tetradic
#6956AE #AE566F #9BAE56 #56AE95
square
#6956AE #AE566F #9BAE56 #56AE95
split-complementary
#6956AE #AE9556 #6FAE56
monochromatic
#372D5D #504086 #6956AE #8E7FC2 #B2A9D6

Accessibility & contrast

On white

5.93
#6956AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6956AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6956AE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6956AE#FFFFFF#000000##FFFFFF
##6956AE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365B1
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#57687A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6956ae;
/* rgb */ color: rgb(105, 86, 174);
/* oklch */ color: oklch(51.5% 0.135 290.8);
Tailwind
colors: {
  custom: {
    50: '#9886c7',
    500: '#6956ae',
    950: '#000000',
  },
}
SCSS
$custom: #6956ae;
$custom-light: #9886c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6956ae",
  "rgb": {
    "r": 105,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 252.955,
    "s": 35.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.13501,
    "h": 290.8
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#6956AE
secondary
#BBC39C
accent
#CB5DB3
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6956AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6956AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva