#6954AF#6954AF

#6954AF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.2% C 0.139 H 291.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6954AF
RGBrgb(105, 84, 175)
HSLhsl(254, 36%, 51%)
HSVhsv(254, 52%, 69%)
CMYKcmyk(40%, 52%, 0%, 31.4%)
CIE-LABlab(41.90, 30.63, -45.83)
CIE-LCHlch(41.90, 55.13, 303.76°)
OKLaboklab(51.17% 0.0507 -0.1299)
OKLCHoklch(51.17% 0.139 291.3)
XYZxyz(16.7318, 12.4386, 42.0685)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954AF #9AAF54
analogous
#546CAF #6954AF #9654AF
triadic
#6954AF #AF6954 #54AF69
tetradic
#6954AF #AF546C #9AAF54 #54AF96
square
#6954AF #AF546C #9AAF54 #54AF96
split-complementary
#6954AF #AF9654 #6CAF54
monochromatic
#372C5D #503F87 #6954AF #8E7EC3 #B2A7D6

Accessibility & contrast

On white

6.02
#6954AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6954AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954AF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954AF#FFFFFF#000000##FFFFFF
##6954AF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B2
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#566779
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6954af;
/* rgb */ color: rgb(105, 84, 175);
/* oklch */ color: oklch(51.2% 0.139 291.3);
Tailwind
colors: {
  custom: {
    50: '#9884c7',
    500: '#6954af',
    950: '#000000',
  },
}
SCSS
$custom: #6954af;
$custom-light: #9884c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6954af",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 253.846,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.13946,
    "h": 291.3
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#6954AF
secondary
#BAC49B
accent
#CC5CB2
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6954AF

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

Preview Lab → · Contrast checker → · Palette generator →

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