#6957B4#6957B4

#6957B4 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.0% C 0.142 H 289.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6957B4
RGBrgb(105, 87, 180)
HSLhsl(252, 38%, 52%)
HSVhsv(252, 52%, 71%)
CMYKcmyk(41.7%, 51.7%, 0%, 29.4%)
CIE-LABlab(42.94, 30.25, -47.12)
CIE-LCHlch(42.94, 56.00, 302.70°)
OKLaboklab(52.04% 0.0472 -0.1337)
OKLCHoklch(52.04% 0.142 289.4)
XYZxyz(17.4698, 13.1144, 44.7820)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6957B4 #A2B457
analogous
#5773B4 #6957B4 #9857B4
triadic
#6957B4 #B46957 #57B469
tetradic
#6957B4 #B45773 #A2B457 #57B498
square
#6957B4 #B45773 #A2B457 #57B498
split-complementary
#6957B4 #B49857 #73B457
monochromatic
#372D64 #4F408E #6957B4 #8F81C7 #B5ACDA

Accessibility & contrast

On white

5.80
#6957B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6957B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6957B4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6957B4#FFFFFF#000000##FFFFFF
##6957B41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B7
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#546A7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6957b4;
/* rgb */ color: rgb(105, 87, 180);
/* oklch */ color: oklch(52.0% 0.142 289.4);
Tailwind
colors: {
  custom: {
    50: '#9887cb',
    500: '#6957b4',
    950: '#000000',
  },
}
SCSS
$custom: #6957b4;
$custom-light: #9887cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6957b4",
  "rgb": {
    "r": 105,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 251.613,
    "s": 38.272,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.14179,
    "h": 289.4
  },
  "luminance": 0.13115
}

Semantic roles & 50–950 ramp

primary
#6957B4
secondary
#C0C89F
accent
#CE5AB8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6957B4

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

Preview Lab → · Contrast checker → · Palette generator →

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