#6957AE#6957AE

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

Color values

HEX#6957AE
RGBrgb(105, 87, 174)
HSLhsl(252, 35%, 51%)
HSVhsv(252, 50%, 68%)
CMYKcmyk(39.7%, 50%, 0%, 31.8%)
CIE-LABlab(42.57, 28.53, -44.17)
CIE-LCHlch(42.57, 52.58, 302.85°)
OKLaboklab(51.65% 0.0467 -0.125)
OKLCHoklch(51.65% 0.133 290.5)
XYZxyz(16.8718, 12.8752, 41.6324)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6957AE #9CAE57
analogous
#5770AE #6957AE #9457AE
triadic
#6957AE #AE6957 #57AE69
tetradic
#6957AE #AE5770 #9CAE57 #57AE94
square
#6957AE #AE5770 #9CAE57 #57AE94
split-complementary
#6957AE #AE9457 #70AE57
monochromatic
#372D5E #4F4187 #6957AE #8E80C2 #B3AAD6

Accessibility & contrast

On white

5.87
#6957AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6957AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6957AE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6957AE#FFFFFF#000000##FFFFFF
##6957AE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#57697A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6957ae;
/* rgb */ color: rgb(105, 87, 174);
/* oklch */ color: oklch(51.7% 0.133 290.5);
Tailwind
colors: {
  custom: {
    50: '#9786c7',
    500: '#6957ae',
    950: '#000000',
  },
}
SCSS
$custom: #6957ae;
$custom-light: #9786c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6957ae",
  "rgb": {
    "r": 105,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 252.414,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.13348,
    "h": 290.5
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#6957AE
secondary
#BCC49D
accent
#CB5DB4
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6957AE

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

Preview Lab → · Contrast checker → · Palette generator →

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