#6954BE#6954BE

#6954BE is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.2% C 0.160 H 288.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6954BE
RGBrgb(105, 84, 190)
HSLhsl(252, 45%, 54%)
HSVhsv(252, 56%, 75%)
CMYKcmyk(44.7%, 55.8%, 0%, 25.5%)
CIE-LABlab(42.85, 34.97, -53.10)
CIE-LCHlch(42.85, 63.58, 303.37°)
OKLaboklab(52.18% 0.0513 -0.1513)
OKLCHoklch(52.18% 0.16 288.7)
XYZxyz(18.2877, 13.0609, 50.2627)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954BE #A9BE54
analogous
#5474BE #6954BE #9E54BE
triadic
#6954BE #BE6954 #54BE69
tetradic
#6954BE #BE5474 #A9BE54 #54BE9E
square
#6954BE #BE5474 #A9BE54 #54BE9E
split-complementary
#6954BE #BE9E54 #74BE54
monochromatic
#372A6E #4E3B9A #6954BE #9080CF #B7ADE0

Accessibility & contrast

On white

5.81
#6954BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6954BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954BE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954BE#FFFFFF#000000##FFFFFF
##6954BE1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#1B63BC
Tritanopia (blue-blind)
#4F6B81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6954be;
/* rgb */ color: rgb(105, 84, 190);
/* oklch */ color: oklch(52.2% 0.160 288.7);
Tailwind
colors: {
  custom: {
    50: '#9985d2',
    500: '#6954be',
    950: '#000000',
  },
}
SCSS
$custom: #6954be;
$custom-light: #9985d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6954be",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 251.887,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.15974,
    "h": 288.7
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#6954BE
secondary
#C5CEA0
accent
#D553BB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6954BE

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

Preview Lab → · Contrast checker → · Palette generator →

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