#6954BD#6954BD

#6954BD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.1% C 0.158 H 288.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6954BD
RGBrgb(105, 84, 189)
HSLhsl(252, 44%, 54%)
HSVhsv(252, 56%, 74%)
CMYKcmyk(44.4%, 55.6%, 0%, 25.9%)
CIE-LABlab(42.79, 34.68, -52.62)
CIE-LCHlch(42.79, 63.02, 303.39°)
OKLaboklab(52.11% 0.0513 -0.1499)
OKLCHoklch(52.11% 0.158 288.9)
XYZxyz(18.1787, 13.0174, 49.6890)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954BD #A8BD54
analogous
#5473BD #6954BD #9D54BD
triadic
#6954BD #BD6954 #54BD69
tetradic
#6954BD #BD5473 #A8BD54 #54BD9D
square
#6954BD #BD5473 #A8BD54 #54BD9D
split-complementary
#6954BD #BD9D54 #73BD54
monochromatic
#372A6D #4E3B99 #6954BD #9080CE #B6ACDF

Accessibility & contrast

On white

5.83
#6954BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6954BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954BD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954BD#FFFFFF#000000##FFFFFF
##6954BD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#1D62BB
Tritanopia (blue-blind)
#506B80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6954bd;
/* rgb */ color: rgb(105, 84, 189);
/* oklch */ color: oklch(52.1% 0.158 288.9);
Tailwind
colors: {
  custom: {
    50: '#9985d1',
    500: '#6954bd',
    950: '#000000',
  },
}
SCSS
$custom: #6954bd;
$custom-light: #9985d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6954bd",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 252,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.15839,
    "h": 288.9
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#6954BD
secondary
#C4CDA0
accent
#D454BA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6954BD

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

Preview Lab → · Contrast checker → · Palette generator →

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