#6951CF#6951CF

#6951CF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.186 H 287.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#6951CF
RGBrgb(105, 81, 207)
HSLhsl(251, 57%, 56%)
HSVhsv(251, 61%, 81%)
CMYKcmyk(49.3%, 60.9%, 0%, 18.8%)
CIE-LABlab(43.35, 41.72, -62.14)
CIE-LCHlch(43.35, 74.85, 303.87°)
OKLaboklab(52.92% 0.0543 -0.1779)
OKLCHoklch(52.92% 0.186 287)
XYZxyz(20.0273, 13.3922, 60.5491)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951CF #B7CF51
analogous
#5178CF #6951CF #A851CF
triadic
#6951CF #CF6951 #51CF69
tetradic
#6951CF #CF5178 #B7CF51 #51CFA8
square
#6951CF #CF5178 #B7CF51 #51CFA8
split-complementary
#6951CF #CFA851 #78CF51
monochromatic
#362482 #4A31B2 #6951CF #9281DC #BCB1E9

Accessibility & contrast

On white

5.71
#6951CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6951CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951CF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951CF#FFFFFF#000000##FFFFFF
##6951CF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#456F88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6951cf;
/* rgb */ color: rgb(105, 81, 207);
/* oklch */ color: oklch(52.9% 0.186 287.0);
Tailwind
colors: {
  custom: {
    50: '#9c83de',
    500: '#6951cf',
    950: '#000000',
  },
}
SCSS
$custom: #6951cf;
$custom-light: #9c83de;
$custom-dark: #000000;
JSON
{
  "hex": "#6951cf",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 251.429,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.18599,
    "h": 287
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#6951CF
secondary
#CED8A4
accent
#E048C3
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6951CF

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

Preview Lab → · Contrast checker → · Palette generator →

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