#6958AC#6958AC

#6958AC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 51.7% C 0.129 H 290.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6958AC
RGBrgb(105, 88, 172)
HSLhsl(252, 34%, 51%)
HSVhsv(252, 49%, 67%)
CMYKcmyk(39%, 48.8%, 0%, 32.5%)
CIE-LABlab(42.70, 27.34, -42.79)
CIE-LCHlch(42.70, 50.78, 302.58°)
OKLaboklab(51.71% 0.0452 -0.121)
OKLCHoklch(51.71% 0.129 290.5)
XYZxyz(16.7598, 12.9608, 40.6404)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958AC #9BAC58
analogous
#5871AC #6958AC #9358AC
triadic
#6958AC #AC6958 #58AC69
tetradic
#6958AC #AC5871 #9BAC58 #58AC93
square
#6958AC #AC5871 #9BAC58 #58AC93
split-complementary
#6958AC #AC9358 #71AC58
monochromatic
#372E5C #504285 #6958AC #8E81C0 #B2AAD5

Accessibility & contrast

On white

5.85
#6958AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6958AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958AC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958AC#FFFFFF#000000##FFFFFF
##6958AC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AF
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#57697A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6958ac;
/* rgb */ color: rgb(105, 88, 172);
/* oklch */ color: oklch(51.7% 0.129 290.5);
Tailwind
colors: {
  custom: {
    50: '#9787c5',
    500: '#6958ac',
    950: '#000000',
  },
}
SCSS
$custom: #6958ac;
$custom-light: #9787c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6958ac",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 252.143,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.12914,
    "h": 290.5
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#6958AC
secondary
#BBC39D
accent
#CA5EB4
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6958AC

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

Preview Lab → · Contrast checker → · Palette generator →

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