#6954BC#6954BC

#6954BC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.0% C 0.157 H 289.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6954BC
RGBrgb(105, 84, 188)
HSLhsl(252, 44%, 53%)
HSVhsv(252, 55%, 74%)
CMYKcmyk(44.1%, 55.3%, 0%, 26.3%)
CIE-LABlab(42.72, 34.39, -52.14)
CIE-LCHlch(42.72, 62.46, 303.40°)
OKLaboklab(52.04% 0.0513 -0.1485)
OKLCHoklch(52.04% 0.157 289.1)
XYZxyz(18.0706, 12.9741, 49.1193)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954BC #A7BC54
analogous
#5473BC #6954BC #9D54BC
triadic
#6954BC #BC6954 #54BC69
tetradic
#6954BC #BC5473 #A7BC54 #54BC9D
square
#6954BC #BC5473 #A7BC54 #54BC9D
split-complementary
#6954BC #BC9D54 #73BC54
monochromatic
#372A6B #4E3B97 #6954BC #9080CD #B6ACDE

Accessibility & contrast

On white

5.84
#6954BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6954BC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954BC#FFFFFF#000000##FFFFFF
##6954BC1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6954bc;
/* rgb */ color: rgb(105, 84, 188);
/* oklch */ color: oklch(52.0% 0.157 289.1);
Tailwind
colors: {
  custom: {
    50: '#9985d1',
    500: '#6954bc',
    950: '#000000',
  },
}
SCSS
$custom: #6954bc;
$custom-light: #9985d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6954bc",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 252.115,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.15706,
    "h": 289.1
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#6954BC
secondary
#C3CCA0
accent
#D354BA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6954BC

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

Preview Lab → · Contrast checker → · Palette generator →

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