#6957BA#6957BA

#6957BA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.4% C 0.150 H 288.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6957BA
RGBrgb(105, 87, 186)
HSLhsl(251, 42%, 54%)
HSVhsv(251, 53%, 73%)
CMYKcmyk(43.5%, 53.2%, 0%, 27.1%)
CIE-LABlab(43.31, 32.00, -50.04)
CIE-LCHlch(43.31, 59.39, 302.60°)
OKLaboklab(52.43% 0.0476 -0.1423)
OKLCHoklch(52.43% 0.15 288.5)
XYZxyz(18.0943, 13.3642, 48.0710)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6957BA #A8BA57
analogous
#5776BA #6957BA #9A57BA
triadic
#6957BA #BA6957 #57BA69
tetradic
#6957BA #BA5776 #A8BA57 #57BA9A
square
#6957BA #BA5776 #A8BA57 #57BA9A
split-complementary
#6957BA #BA9A57 #76BA57
monochromatic
#372C6B #4E3E96 #6957BA #9082CC #B6AEDE

Accessibility & contrast

On white

5.72
#6957BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6957BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6957BA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6957BA#FFFFFF#000000##FFFFFF
##6957BA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BD
Deuteranopia (green-blind)
#2964B8
Tritanopia (blue-blind)
#516C80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6957ba;
/* rgb */ color: rgb(105, 87, 186);
/* oklch */ color: oklch(52.4% 0.150 288.5);
Tailwind
colors: {
  custom: {
    50: '#9987cf',
    500: '#6957ba',
    950: '#000000',
  },
}
SCSS
$custom: #6957ba;
$custom-light: #9987cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6957ba",
  "rgb": {
    "r": 105,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 250.909,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.15,
    "h": 288.5
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#6957BA
secondary
#C4CCA1
accent
#D256BB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6957BA

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

Preview Lab → · Contrast checker → · Palette generator →

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