#6957AF#6957AF

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

Color values

HEX#6957AF
RGBrgb(105, 87, 175)
HSLhsl(252, 35%, 51%)
HSVhsv(252, 50%, 69%)
CMYKcmyk(40%, 50.3%, 0%, 31.4%)
CIE-LABlab(42.63, 28.81, -44.67)
CIE-LCHlch(42.63, 53.15, 302.83°)
OKLaboklab(51.72% 0.0468 -0.1265)
OKLCHoklch(51.72% 0.135 290.3)
XYZxyz(16.9696, 12.9143, 42.1477)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6957AF #9DAF57
analogous
#5771AF #6957AF #9557AF
triadic
#6957AF #AF6957 #57AF69
tetradic
#6957AF #AF5771 #9DAF57 #57AF95
square
#6957AF #AF5771 #9DAF57 #57AF95
split-complementary
#6957AF #AF9557 #71AF57
monochromatic
#372D5F #4F4188 #6957AF #8E80C3 #B3AAD6

Accessibility & contrast

On white

5.86
#6957AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6957AF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6957AF#FFFFFF#000000##FFFFFF
##6957AF1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#56697B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6957af;
/* rgb */ color: rgb(105, 87, 175);
/* oklch */ color: oklch(51.7% 0.135 290.3);
Tailwind
colors: {
  custom: {
    50: '#9886c7',
    500: '#6957af',
    950: '#000000',
  },
}
SCSS
$custom: #6957af;
$custom-light: #9886c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6957af",
  "rgb": {
    "r": 105,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 252.273,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.13487,
    "h": 290.3
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#6957AF
secondary
#BCC49E
accent
#CC5CB5
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6957AF

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

Preview Lab → · Contrast checker → · Palette generator →

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