#6958AE#6958AE

#6958AE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 51.8% C 0.132 H 290.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6958AE
RGBrgb(105, 88, 174)
HSLhsl(252, 35%, 51%)
HSVhsv(252, 49%, 68%)
CMYKcmyk(39.7%, 49.4%, 0%, 31.8%)
CIE-LABlab(42.82, 27.92, -43.78)
CIE-LCHlch(42.82, 51.92, 302.53°)
OKLaboklab(51.84% 0.0454 -0.1239)
OKLCHoklch(51.84% 0.132 290.1)
XYZxyz(16.9533, 13.0382, 41.6596)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958AE #9DAE58
analogous
#5872AE #6958AE #9458AE
triadic
#6958AE #AE6958 #58AE69
tetradic
#6958AE #AE5872 #9DAE58 #58AE94
square
#6958AE #AE5872 #9DAE58 #58AE94
split-complementary
#6958AE #AE9458 #72AE58
monochromatic
#372E5E #4F4287 #6958AE #8E81C2 #B3AAD6

Accessibility & contrast

On white

5.82
#6958AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6958AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958AE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958AE#FFFFFF#000000##FFFFFF
##6958AE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#57697B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6958ae;
/* rgb */ color: rgb(105, 88, 174);
/* oklch */ color: oklch(51.8% 0.132 290.1);
Tailwind
colors: {
  custom: {
    50: '#9787c7',
    500: '#6958ae',
    950: '#000000',
  },
}
SCSS
$custom: #6958ae;
$custom-light: #9787c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6958ae",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 251.86,
    "s": 34.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.13195,
    "h": 290.1
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#6958AE
secondary
#BCC49E
accent
#CB5DB5
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6958AE

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

Preview Lab → · Contrast checker → · Palette generator →

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