#6954C8#6954C8

#6954C8 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.9% C 0.173 H 287.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6954C8
RGBrgb(105, 84, 200)
HSLhsl(251, 51%, 56%)
HSVhsv(251, 58%, 78%)
CMYKcmyk(47.5%, 58%, 0%, 21.6%)
CIE-LABlab(43.53, 37.90, -57.82)
CIE-LCHlch(43.53, 69.13, 303.25°)
OKLaboklab(52.89% 0.0513 -0.1651)
OKLCHoklch(52.89% 0.173 287.3)
XYZxyz(19.4183, 13.5132, 56.2175)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954C8 #B3C854
analogous
#5479C8 #6954C8 #A354C8
triadic
#6954C8 #C86954 #54C869
tetradic
#6954C8 #C85479 #B3C854 #54C8A3
square
#6954C8 #C85479 #B3C854 #54C8A3
split-complementary
#6954C8 #C8A354 #79C854
monochromatic
#36277A #4B36A9 #6954C8 #9282D7 #BAB1E6

Accessibility & contrast

On white

5.67
#6954C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6954C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954C8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954C8#FFFFFF#000000##FFFFFF
##6954C81.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#496E86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6954c8;
/* rgb */ color: rgb(105, 84, 200);
/* oklch */ color: oklch(52.9% 0.173 287.3);
Tailwind
colors: {
  custom: {
    50: '#9b85d9',
    500: '#6954c8',
    950: '#000000',
  },
}
SCSS
$custom: #6954c8;
$custom-light: #9b85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6954c8",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 250.862,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.17294,
    "h": 287.3
  },
  "luminance": 0.13514
}

Semantic roles & 50–950 ramp

primary
#6954C8
secondary
#CBD4A4
accent
#DB4DC1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6954C8

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

Preview Lab → · Contrast checker → · Palette generator →

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