#6954CF#6954CF

#6954CF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.182 H 286.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6954CF
RGBrgb(105, 84, 207)
HSLhsl(250, 56%, 57%)
HSVhsv(250, 59%, 81%)
CMYKcmyk(49.3%, 59.4%, 0%, 18.8%)
CIE-LABlab(44.01, 39.97, -61.06)
CIE-LCHlch(44.01, 72.98, 303.21°)
OKLaboklab(53.41% 0.0511 -0.1747)
OKLCHoklch(53.41% 0.182 286.3)
XYZxyz(20.2552, 13.8479, 60.6250)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954CF #BACF54
analogous
#547DCF #6954CF #A754CF
triadic
#6954CF #CF6954 #54CF69
tetradic
#6954CF #CF547D #BACF54 #54CFA7
square
#6954CF #CF547D #BACF54 #54CFA7
split-complementary
#6954CF #CFA754 #7DCF54
monochromatic
#352584 #4832B3 #6954CF #9384DC #BDB4EA

Accessibility & contrast

On white

5.57
#6954CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6954CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954CF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954CF#FFFFFF#000000##FFFFFF
##6954CF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#457089
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6954cf;
/* rgb */ color: rgb(105, 84, 207);
/* oklch */ color: oklch(53.4% 0.182 286.3);
Tailwind
colors: {
  custom: {
    50: '#9b85de',
    500: '#6954cf',
    950: '#000000',
  },
}
SCSS
$custom: #6954cf;
$custom-light: #9b85de;
$custom-dark: #000000;
JSON
{
  "hex": "#6954cf",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 250.244,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.18203,
    "h": 286.3
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#6954CF
secondary
#D0D8A6
accent
#DF48C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6954CF

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

Preview Lab → · Contrast checker → · Palette generator →

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