#6954CC#6954CC

#6954CC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.2% C 0.178 H 286.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6954CC
RGBrgb(105, 84, 204)
HSLhsl(251, 54%, 56%)
HSVhsv(251, 59%, 80%)
CMYKcmyk(48.5%, 58.8%, 0%, 20%)
CIE-LABlab(43.80, 39.09, -59.68)
CIE-LCHlch(43.80, 71.34, 303.22°)
OKLaboklab(53.18% 0.0512 -0.1706)
OKLCHoklch(53.18% 0.178 286.7)
XYZxyz(19.8919, 13.7026, 58.7118)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954CC #B7CC54
analogous
#547BCC #6954CC #A554CC
triadic
#6954CC #CC6954 #54CC69
tetradic
#6954CC #CC547B #B7CC54 #54CCA5
square
#6954CC #CC547B #B7CC54 #54CCA5
split-complementary
#6954CC #CCA554 #7BCC54
monochromatic
#362680 #4A34AF #6954CC #9283DA #BCB2E8

Accessibility & contrast

On white

5.61
#6954CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6954CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954CC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954CC#FFFFFF#000000##FFFFFF
##6954CC1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#477088
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6954cc;
/* rgb */ color: rgb(105, 84, 204);
/* oklch */ color: oklch(53.2% 0.178 286.7);
Tailwind
colors: {
  custom: {
    50: '#9b85dc',
    500: '#6954cc',
    950: '#000000',
  },
}
SCSS
$custom: #6954cc;
$custom-light: #9b85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6954cc",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 250.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.17815,
    "h": 286.7
  },
  "luminance": 0.13704
}

Semantic roles & 50–950 ramp

primary
#6954CC
secondary
#CED7A5
accent
#DD4AC4
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6954CC

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

Preview Lab → · Contrast checker → · Palette generator →

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