#6954BB#6954BB

#6954BB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.0% C 0.156 H 289.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6954BB
RGBrgb(105, 84, 187)
HSLhsl(252, 43%, 53%)
HSVhsv(252, 55%, 73%)
CMYKcmyk(43.9%, 55.1%, 0%, 26.7%)
CIE-LABlab(42.66, 34.09, -51.66)
CIE-LCHlch(42.66, 61.90, 303.42°)
OKLaboklab(51.97% 0.0513 -0.147)
OKLCHoklch(51.97% 0.156 289.2)
XYZxyz(17.9631, 12.9311, 48.5536)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954BB #A6BB54
analogous
#5472BB #6954BB #9C54BB
triadic
#6954BB #BB6954 #54BB69
tetradic
#6954BB #BB5472 #A6BB54 #54BB9C
square
#6954BB #BB5472 #A6BB54 #54BB9C
split-complementary
#6954BB #BB9C54 #72BB54
monochromatic
#372A6A #4E3C96 #6954BB #8F80CC #B6ACDE

Accessibility & contrast

On white

5.86
#6954BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6954BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954BB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954BB#FFFFFF#000000##FFFFFF
##6954BB1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#2162B9
Tritanopia (blue-blind)
#516A7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6954bb;
/* rgb */ color: rgb(105, 84, 187);
/* oklch */ color: oklch(52.0% 0.156 289.2);
Tailwind
colors: {
  custom: {
    50: '#9985d0',
    500: '#6954bb',
    950: '#000000',
  },
}
SCSS
$custom: #6954bb;
$custom-light: #9985d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6954bb",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 252.233,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.15572,
    "h": 289.2
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#6954BB
secondary
#C3CC9F
accent
#D355B9
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6954BB

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

Preview Lab → · Contrast checker → · Palette generator →

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