#6954BF#6954BF

#6954BF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.3% C 0.161 H 288.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6954BF
RGBrgb(105, 84, 191)
HSLhsl(252, 46%, 54%)
HSVhsv(252, 56%, 75%)
CMYKcmyk(45%, 56%, 0%, 25.1%)
CIE-LABlab(42.92, 35.26, -53.57)
CIE-LCHlch(42.92, 64.13, 303.35°)
OKLaboklab(52.25% 0.0513 -0.1527)
OKLCHoklch(52.25% 0.161 288.6)
XYZxyz(18.3973, 13.1048, 50.8402)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954BF #AABF54
analogous
#5475BF #6954BF #9F54BF
triadic
#6954BF #BF6954 #54BF69
tetradic
#6954BF #BF5475 #AABF54 #54BF9F
square
#6954BF #BF5475 #AABF54 #54BF9F
split-complementary
#6954BF #BF9F54 #75BF54
monochromatic
#372A6F #4D3A9C #6954BF #9081D0 #B7ADE0

Accessibility & contrast

On white

5.80
#6954BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6954BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954BF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954BF#FFFFFF#000000##FFFFFF
##6954BF1.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)
#1668C3
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#4F6B81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6954bf;
/* rgb */ color: rgb(105, 84, 191);
/* oklch */ color: oklch(52.3% 0.161 288.6);
Tailwind
colors: {
  custom: {
    50: '#9985d3',
    500: '#6954bf',
    950: '#000000',
  },
}
SCSS
$custom: #6954bf;
$custom-light: #9985d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6954bf",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 251.776,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.16107,
    "h": 288.6
  },
  "luminance": 0.13105
}

Semantic roles & 50–950 ramp

primary
#6954BF
secondary
#C5CEA1
accent
#D553BC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6954BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6954BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva