#6951BB#6951BB

#6951BB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.160 H 290.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6951BB
RGBrgb(105, 81, 187)
HSLhsl(254, 44%, 53%)
HSVhsv(254, 57%, 73%)
CMYKcmyk(43.9%, 56.7%, 0%, 26.7%)
CIE-LABlab(41.96, 35.88, -52.78)
CIE-LCHlch(41.96, 63.82, 304.21°)
OKLaboklab(51.46% 0.0548 -0.1504)
OKLCHoklch(51.46% 0.16 290)
XYZxyz(17.7353, 12.4754, 48.4776)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951BB #A3BB51
analogous
#516EBB #6951BB #9E51BB
triadic
#6951BB #BB6951 #51BB69
tetradic
#6951BB #BB516E #A3BB51 #51BB9E
square
#6951BB #BB516E #A3BB51 #51BB9E
split-complementary
#6951BB #BB9E51 #6EBB51
monochromatic
#372969 #4F3A95 #6951BB #8F7DCC #B5A9DD

Accessibility & contrast

On white

6.01
#6951BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6951BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951BB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951BB#FFFFFF#000000##FFFFFF
##6951BB1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#51687E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6951bb;
/* rgb */ color: rgb(105, 81, 187);
/* oklch */ color: oklch(51.5% 0.160 290.0);
Tailwind
colors: {
  custom: {
    50: '#9982d0',
    500: '#6951bb',
    950: '#000000',
  },
}
SCSS
$custom: #6951bb;
$custom-light: #9982d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6951bb",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 253.585,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.16005,
    "h": 290
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#6951BB
secondary
#C0CB9D
accent
#D454B7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6951BB

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

Preview Lab → · Contrast checker → · Palette generator →

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